diff --git a/app/assets/javascripts/discourse/templates/modal/avatar_selector.js.handlebars b/app/assets/javascripts/discourse/templates/modal/avatar_selector.js.handlebars
index 46e2be87b9d..0b8d41026f7 100644
--- a/app/assets/javascripts/discourse/templates/modal/avatar_selector.js.handlebars
+++ b/app/assets/javascripts/discourse/templates/modal/avatar_selector.js.handlebars
@@ -1,10 +1,12 @@
-
-
-
+
+
diff --git a/app/assets/javascripts/discourse/views/modal/avatar_selector_view.js b/app/assets/javascripts/discourse/views/modal/avatar_selector_view.js
index dde8c1c0df0..0f685ed8ac5 100644
--- a/app/assets/javascripts/discourse/views/modal/avatar_selector_view.js
+++ b/app/assets/javascripts/discourse/views/modal/avatar_selector_view.js
@@ -12,7 +12,9 @@ Discourse.AvatarSelectorView = Discourse.ModalBodyView.extend({
title: I18n.t('user.change_avatar.title'),
uploading: false,
uploadProgress: 0,
- uploadedAvatarDisabled: Em.computed.not("controller.has_uploaded_avatar"),
+ useGravatar: Em.computed.not("controller.use_uploaded_avatar"),
+ canSaveAvatarSelection: Em.computed.or("useGravatar", "controller.has_uploaded_avatar"),
+ saveDisabled: Em.computed.not("canSaveAvatarSelection"),
didInsertElement: function() {
var view = this;