mirror of
https://github.com/documize/community.git
synced 2025-07-23 23:29:42 +02:00
Slow down space view component lifecycle eagerness
This commit is contained in:
parent
0019e860ad
commit
8fb001422a
1 changed files with 5 additions and 4 deletions
|
@ -30,18 +30,19 @@ export default Component.extend(AuthMixin, {
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
this.filteredDocs = [];
|
this.filteredDocs = [];
|
||||||
|
this.setup();
|
||||||
},
|
},
|
||||||
|
|
||||||
didReceiveAttrs() {
|
didReceiveAttrs() {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
this.setup();
|
// this.setup();
|
||||||
},
|
},
|
||||||
|
|
||||||
didUpdateAttrs() {
|
didUpdateAttrs() {
|
||||||
this._super(...arguments);
|
this._super(...arguments);
|
||||||
this.set('selectedDocuments', []);
|
// this.set('selectedDocuments', []);
|
||||||
this.set('filteredDocs', []);
|
// this.set('filteredDocs', []);
|
||||||
},
|
},
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue