mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +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
|
@ -33,6 +33,7 @@ export default Component.extend(Notifier, Modals, {
|
|||
return this.get('blocks.length') > 0;
|
||||
}),
|
||||
|
||||
// eslint-disable-next-line ember/no-observers
|
||||
onModalToggle: observer('show', function() {
|
||||
let modalId = this.get('modalId');
|
||||
|
||||
|
|
|
@ -28,9 +28,12 @@ export default Component.extend(ModalMixin, {
|
|||
canDelete: false,
|
||||
canMove: false,
|
||||
docSearchFilter: '',
|
||||
|
||||
// eslint-disable-next-line ember/no-observers
|
||||
onKeywordChange: observer('docSearchFilter', function() {
|
||||
debounce(this, this.searchDocs, 750);
|
||||
}),
|
||||
|
||||
emptySearch: computed('docSearchResults', function() {
|
||||
return this.get('docSearchResults.length') === 0;
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue