1
0
Fork 0
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:
Harvey Kandola 2018-12-21 18:03:35 +00:00
parent b495041222
commit 6f495dd1c6
4 changed files with 4 additions and 5 deletions

View file

@ -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'}});
}
}
});