discourse/app/assets/javascripts/admin/components/theme-setting.js.es6

13 lines
399 B
Plaintext
Raw Normal View History

2018-06-15 11:03:24 -04:00
import BufferedContent from "discourse/mixins/buffered-content";
import SettingComponent from "admin/mixins/setting-component";
export default Ember.Component.extend(BufferedContent, SettingComponent, {
2018-06-15 11:03:24 -04:00
layoutName: "admin/templates/components/site-setting",
_save() {
2018-06-15 11:03:24 -04:00
return this.get("model").saveSettings(
this.get("setting.setting"),
this.get("buffered.value")
);
}
});