mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
EmberJS: FolderID to SpaceID
Co-Authored-By: Harvey Kandola <harvey@documize.com>
This commit is contained in:
parent
66d5e73ed1
commit
e0457b40da
45 changed files with 170 additions and 99 deletions
|
@ -20,6 +20,12 @@ export default Controller.extend({
|
|||
if(this.get('session.isAdmin')) {
|
||||
return this.get('global').backup(spec);
|
||||
}
|
||||
},
|
||||
|
||||
onRestore(spec, filedata) {
|
||||
if(this.get('session.isAdmin')) {
|
||||
return this.get('global').restore(spec, filedata);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue