mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Explicit computed properties declaration for section header
This commit is contained in:
parent
3993cfeb8e
commit
c705e8c299
6 changed files with 661 additions and 661 deletions
|
@ -33,7 +33,7 @@ export default Component.extend(ModalMixin, {
|
|||
emptySearch: computed('docSearchResults', function() {
|
||||
return this.get('docSearchResults.length') === 0;
|
||||
}),
|
||||
hasMenuPermissions: computed('permissions', 'userPendingItem', 'canEdit', 'canMove', 'canDelete', function() {
|
||||
hasMenuPermissions: computed('permissions.{documentCopy,documentTemplate}', 'userPendingItem', 'canEdit', 'canMove', 'canDelete', function() {
|
||||
let permissions = this.get('permissions');
|
||||
|
||||
return permissions.get('documentCopy') || permissions.get('documentTemplate') ||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "documize",
|
||||
"version": "1.57.0",
|
||||
"version": "1.57.1",
|
||||
"description": "The Document IDE",
|
||||
"private": true,
|
||||
"repository": "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue