1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 22:29:41 +02:00

improved setup process and space view rendering

This commit is contained in:
Harvey Kandola 2017-10-06 13:59:58 -04:00
parent b2138d6bdb
commit b8d848549e
11 changed files with 2464 additions and 2998 deletions

View file

@ -158,8 +158,8 @@ export default Ember.Component.extend(NotifierMixin, TooltipMixin, AuthMixin, {
this.set('spaceSelected', false);
break;
case 'space':
this.set('spaceSelected', true);
case 'uncategorized':
this.set('uncategorizedSelected', true);
allowed = _.pluck(categoryMembers, 'documentId');
docs.forEach((d) => {
if (!_.contains(allowed, d.get('id'))) {
@ -167,6 +167,14 @@ export default Ember.Component.extend(NotifierMixin, TooltipMixin, AuthMixin, {
}
});
break;
case 'space':
this.set('spaceSelected', true);
allowed = _.pluck(categoryMembers, 'documentId');
docs.forEach((d) => {
filtered.pushObject(d);
});
break;
}
categories.forEach((cat)=> {