mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 11:48:08 +08:00
REFACTOR: Remove Ember.Controller
in favor of import
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
export default Controller.extend({
|
||||
@computed("model.isSaving")
|
||||
saveButtonText(isSaving) {
|
||||
return isSaving ? I18n.t("saving") : I18n.t("admin.customize.save");
|
||||
|
Reference in New Issue
Block a user