mirror of
https://github.com/documize/community.git
synced 2025-07-20 13:49:42 +02:00
Move doc meta fields out of sidebar
This commit is contained in:
parent
c0876e7be8
commit
c870547fa1
7 changed files with 48 additions and 122 deletions
|
@ -52,6 +52,12 @@ export default Component.extend(Modals, {
|
|||
},
|
||||
|
||||
actions: {
|
||||
onEdit() {
|
||||
if (!this.get('permissions.documentEdit')) return;
|
||||
|
||||
this.get('router').transitionTo('document.settings');
|
||||
},
|
||||
|
||||
onEditCategory() {
|
||||
if (!this.get('permissions.documentEdit')) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue