This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/mixins/preferences-tab-controller.js.es6

11 lines
256 B
JavaScript

import { default as computed } from "ember-addons/ember-computed-decorators";
export default Ember.Mixin.create({
saved: false,
@computed("model.isSaving")
saveButtonText(isSaving) {
return isSaving ? I18n.t('saving') : I18n.t('save');
}
});