mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
refactored license/smtp/genral settings UI
This commit is contained in:
parent
fd6b4c051b
commit
75aa00beca
19 changed files with 221 additions and 117 deletions
|
@ -10,17 +10,14 @@
|
|||
// https://documize.com
|
||||
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
import Controller from '@ember/controller';
|
||||
import NotifierMixin from "../../../mixins/notifier";
|
||||
|
||||
export default Controller.extend(NotifierMixin, {
|
||||
export default Controller.extend({
|
||||
orgService: service('organization'),
|
||||
|
||||
actions: {
|
||||
save() {
|
||||
return this.get('orgService').save(this.model.general).then(() => {
|
||||
this.showNotification('Saved');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue