mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
removed redundant UI code
This commit is contained in:
parent
5edd08ee04
commit
cc1c216754
40 changed files with 81 additions and 949 deletions
|
@ -12,12 +12,11 @@
|
|||
import Component from '@ember/component';
|
||||
import { schedule, debounce } from '@ember/runloop';
|
||||
import AuthProvider from '../../mixins/auth';
|
||||
import DropdownMixin from '../../mixins/dropdown';
|
||||
import ModalMixin from '../../mixins/modal';
|
||||
|
||||
export default Component.extend(AuthProvider, DropdownMixin, {
|
||||
export default Component.extend(AuthProvider, ModalMixin, {
|
||||
editUser: null,
|
||||
deleteUser: null,
|
||||
dropdown: null,
|
||||
password: {},
|
||||
filter: '',
|
||||
filteredUsers: [],
|
||||
|
@ -169,7 +168,7 @@ export default Component.extend(AuthProvider, DropdownMixin, {
|
|||
this.set('selectedUsers', []);
|
||||
this.set('hasSelectedUsers', false);
|
||||
|
||||
return true;
|
||||
this.modalClose('#admin-user-delete-modal');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue