mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
License key workflow improved
Co-Authored-By: Saul S <sauls8t@users.noreply.github.com>
This commit is contained in:
parent
27fde0dac8
commit
30856433f8
6 changed files with 14 additions and 25 deletions
|
@ -9,18 +9,7 @@
|
|||
//
|
||||
// https://documize.com
|
||||
|
||||
import { inject as service } from '@ember/service';
|
||||
import Controller from '@ember/controller';
|
||||
|
||||
export default Controller.extend({
|
||||
global: service(),
|
||||
|
||||
actions: {
|
||||
saveLicense() {
|
||||
if(this.get('session.isGlobalAdmin')) {
|
||||
return this.get('global').saveLicense(this.model.license).then(() => {
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue