mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
delete space, pin space migrated to new UX
This commit is contained in:
parent
acc947c2ed
commit
9cbee80f51
11 changed files with 212 additions and 138 deletions
|
@ -121,14 +121,6 @@ export default Component.extend(NotifierMixin, TooltipMixin, AuthMixin, {
|
|||
});
|
||||
},
|
||||
|
||||
onDeleteSpace() {
|
||||
this.get('folderService').delete(this.get('folder.id')).then(() => { /* jshint ignore:line */
|
||||
this.showNotification("Deleted");
|
||||
this.get('localStorage').clearSessionItem('folder');
|
||||
this.get('router').transitionTo('application');
|
||||
});
|
||||
},
|
||||
|
||||
onImport() {
|
||||
this.attrs.onRefresh();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue