diff --git a/app/assets/javascripts/discourse/app/controllers/avatar-selector.js b/app/assets/javascripts/discourse/app/controllers/avatar-selector.js index 7cb45162cfc..682cd001347 100644 --- a/app/assets/javascripts/discourse/app/controllers/avatar-selector.js +++ b/app/assets/javascripts/discourse/app/controllers/avatar-selector.js @@ -65,6 +65,10 @@ export default Controller.extend(ModalFunctionality, { return this._selected ?? this.defaultSelection; }, + set selected(value) { + this._selected = value; + }, + @action onSelectedChanged(value) { this._selected = value;