mirror of
https://github.com/documize/community.git
synced 2025-07-20 13:49:42 +02:00
Make document meta fields click-to-edit
This commit is contained in:
parent
b495041222
commit
6f495dd1c6
4 changed files with 4 additions and 5 deletions
|
@ -52,9 +52,9 @@ export default Component.extend(Modals, {
|
|||
|
||||
actions: {
|
||||
onEditCategory() {
|
||||
if (!this.get('permissions.spaceManage')) return;
|
||||
if (!this.get('permissions.documentEdit')) return;
|
||||
|
||||
this.get('router').transitionTo('document.settings', {queryParams: {tab: 'meta'}});
|
||||
this.get('router').transitionTo('document.settings', {queryParams: {tab: 'category'}});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue