mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
upgraded gorilla mux dependency, improved anon viewing
This commit is contained in:
parent
7ce3adb65e
commit
1d2109aa44
18 changed files with 2411 additions and 402 deletions
|
@ -45,8 +45,10 @@ export default Ember.Component.extend(TooltipMixin, NotifierMixin, {
|
|||
selected.forEach((s) => {
|
||||
let cats = this.set('categories', categories);
|
||||
let cat = categories.findBy('id', s.id);
|
||||
cat.set('selected', true);
|
||||
this.set('categories', cats);
|
||||
if (is.not.undefined(cat)) {
|
||||
cat.set('selected', true);
|
||||
this.set('categories', cats);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -37,6 +37,7 @@ export default Ember.Component.extend(NotifierMixin, TooltipMixin, AuthMixin, {
|
|||
didUpdateAttrs() {
|
||||
this._super(...arguments);
|
||||
this.set('selectedDocuments', []);
|
||||
this.set('filteredDocs', []);
|
||||
},
|
||||
|
||||
didRender() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue