mirror of
https://github.com/documize/community.git
synced 2025-07-22 06:39:43 +02:00
Change space settings management into tab views
This commit is contained in:
parent
738b3d94b6
commit
92f8fe550e
38 changed files with 683 additions and 411 deletions
|
@ -175,23 +175,6 @@ export default Component.extend(TooltipMixin, Notifier, {
|
|||
this.set('showDeleteBlockDialog', true);
|
||||
},
|
||||
|
||||
onDeleteBlock() {
|
||||
this.set('showDeleteBlockDialog', false);
|
||||
|
||||
let id = this.get('deleteBlockId');
|
||||
|
||||
let cb = this.get('onDeleteBlock');
|
||||
let promise = cb(id);
|
||||
|
||||
promise.then(() => {
|
||||
this.set('deleteBlockId', '');
|
||||
let refresh = this.get('refresh');
|
||||
refresh();
|
||||
});
|
||||
|
||||
return true;
|
||||
},
|
||||
|
||||
onVote(vote) {
|
||||
this.get('documentService').vote(this.get('document.id'), vote);
|
||||
this.set('voteThanks', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue