1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Move space deletion & archived docs into Space settings

This commit is contained in:
sauls8t 2018-11-13 15:18:34 +00:00
parent b37f9d601f
commit 7e959b448c
17 changed files with 98 additions and 169 deletions

View file

@ -25,13 +25,6 @@ export default Controller.extend(NotifierMixin, {
filteredDocs: null,
actions: {
onDeleteSpace(id) {
this.get('folderService').delete(id).then(() => { /* jshint ignore:line */
this.get('localStorage').clearSessionItem('folder');
this.transitionToRoute('folders');
});
},
onRefresh() {
this.get('target._routerMicrolib').refresh();
},