mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
ensure section updates always display latest numbering
This commit is contained in:
parent
1ed6427532
commit
3337db6b27
5 changed files with 13 additions and 7 deletions
|
@ -22,10 +22,8 @@ export default Component.extend(ModalMixin, {
|
|||
blockExcerpt: "",
|
||||
documentList: A([]), //includes the current document
|
||||
documentListOthers: A([]), //excludes the current document
|
||||
|
||||
hasMenuPermissions: computed('permissions', function() {
|
||||
let permissions = this.get('permissions');
|
||||
|
||||
return permissions.get('documentDelete') || permissions.get('documentCopy') ||
|
||||
permissions.get('documentMove') || permissions.get('documentTemplate');
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue