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

Per space label, icon, description

Labels introduce visual grouping and filtering of spaces.
This commit is contained in:
McMatts 2019-01-04 16:33:30 +00:00
parent fe8068965c
commit a211ba051a
106 changed files with 3280 additions and 1008 deletions

View file

@ -21,6 +21,11 @@ export default Model.extend({
spaceType: attr('number', { defaultValue: 2 }),
lifecycle: attr('number', { defaultValue: 1 }),
likes: attr('string'),
icon: attr('string', { defaultValue: '' }),
desc: attr('string', { defaultValue: '' }),
labelId: attr('string', { defaultValue: '' }),
countCategory: attr('number', { defaultValue: 0 }),
countContent: attr('number', { defaultValue: 0 }),
allowLikes: computed('likes', function () {
return is.not.empty(this.get('likes')) && is.not.undefined(this.get('likes'));