mirror of
https://github.com/documize/community.git
synced 2025-07-20 13:49:42 +02:00
Apply changes backported from Enterprise edition
This commit is contained in:
parent
3d0a3cecf9
commit
5757b2d36e
24 changed files with 1474 additions and 1378 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
import { A } from '@ember/array';
|
||||
import { computed } from '@ember/object';
|
||||
import { notEmpty } from '@ember/object/computed';
|
||||
import { inject as service } from '@ember/service';
|
||||
import Modals from '../../mixins/modal';
|
||||
import Component from '@ember/component';
|
||||
|
@ -22,7 +23,7 @@ export default Component.extend(Modals, {
|
|||
router: service(),
|
||||
selectedCategories: A([]),
|
||||
tagz: A([]),
|
||||
|
||||
userChanges: notEmpty('contributorMsg'),
|
||||
unassigned: computed('selectedCategories', 'tagz', function() {
|
||||
return this.get('selectedCategories').length === 0 && this.get('tagz').length === 0;
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue