mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
Restrict pin sequence changing
Only all documents filter enables the up/down pin sequence change clickers.
This commit is contained in:
parent
d1774b42bd
commit
c689379f92
3 changed files with 5 additions and 4 deletions
|
@ -31,8 +31,8 @@ export default Component.extend({
|
|||
hasDocumentActions: computed('permissions.{documentDelete,documentMove}', function() {
|
||||
return this.get('permissions.documentDelete') || this.get('permissions.documentMove');
|
||||
}),
|
||||
hasCategoryFilter: computed('categoryFilter', function() {
|
||||
return !_.isEmpty(this.get('categoryFilter'));
|
||||
showingAllDocs: computed('categoryFilter', 'numDocuments', 'documents', function() {
|
||||
return _.isEmpty(this.get('categoryFilter')) && this.get('documents').length == this.get("numDocuments");
|
||||
}),
|
||||
|
||||
didReceiveAttrs() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue