mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
move documents new UX
This commit is contained in:
parent
bae1245d47
commit
aee9345886
14 changed files with 141 additions and 207 deletions
|
@ -18,6 +18,7 @@ export default Component.extend({
|
|||
confirmCaption: 'OK',
|
||||
title: 'Confirm',
|
||||
show: false,
|
||||
buttonType: 'btn-secondary',
|
||||
|
||||
didInsertElement() {
|
||||
this._super(...arguments);
|
||||
|
@ -54,7 +55,8 @@ export default Component.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
if (this.attrs.onAction()) {
|
||||
let result = this.attrs.onAction();
|
||||
if (result) {
|
||||
this.set('show', false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue