1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00

Change space settings management into tab views

This commit is contained in:
Harvey Kandola 2018-06-05 14:04:14 +01:00
parent 738b3d94b6
commit 92f8fe550e
38 changed files with 683 additions and 411 deletions

View file

@ -12,9 +12,10 @@
import $ from 'jquery';
import { empty } from '@ember/object/computed';
import { inject as service } from '@ember/service';
import Notifier from '../../mixins/notifier';
import Component from '@ember/component';
export default Component.extend({
export default Component.extend(Notifier, {
appMeta: service(),
LicenseError: empty('model.license'),
changelog: '',
@ -36,7 +37,9 @@ export default Component.extend({
actions: {
saveLicense() {
this.showWait();
this.get('saveLicense')().then(() => {
this.showDone();
window.location.reload();
});
}