1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 07:09:43 +02:00

Slow down space view component lifecycle eagerness

This commit is contained in:
McMatts 2018-04-17 18:03:32 +01:00
parent 0019e860ad
commit 8fb001422a

View file

@ -30,18 +30,19 @@ export default Component.extend(AuthMixin, {
init() {
this._super(...arguments);
this.filteredDocs = [];
this.filteredDocs = [];
this.setup();
},
didReceiveAttrs() {
this._super(...arguments);
this.setup();
// this.setup();
},
didUpdateAttrs() {
this._super(...arguments);
this.set('selectedDocuments', []);
this.set('filteredDocs', []);
// this.set('selectedDocuments', []);
// this.set('filteredDocs', []);
},
setup() {