mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
Upgrade UI framework to Ember v3.10.0
This commit is contained in:
parent
49bf4eeaa0
commit
479508e436
22 changed files with 68656 additions and 1745 deletions
|
@ -10,7 +10,6 @@
|
|||
// https://documize.com
|
||||
|
||||
import $ from 'jquery';
|
||||
import { observer } from '@ember/object';
|
||||
import { inject as service } from '@ember/service';
|
||||
import { schedule, debounce } from '@ember/runloop';
|
||||
import AuthProvider from '../../mixins/auth';
|
||||
|
@ -51,15 +50,15 @@ export default Component.extend(AuthProvider, ModalMixin, Notifier, {
|
|||
this.set('users', users);
|
||||
},
|
||||
|
||||
onKeywordChange: observer('filter', function() {
|
||||
debounce(this, this.filterUsers, 350);
|
||||
}),
|
||||
|
||||
filterUsers() {
|
||||
this.get('onFilter')(this.get('filter'));
|
||||
},
|
||||
|
||||
actions: {
|
||||
onFilterChange() {
|
||||
debounce(this, this.filterUsers, 350);
|
||||
},
|
||||
|
||||
togglePerms() {
|
||||
this.set('showPermExplain', !this.get('showPermExplain'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue