浏览代码

fix menus links

Olivier Massot 3 年之前
父节点
当前提交
b67b101e3a
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      composables/layout/Menus/configurationMenu.ts

+ 6 - 5
composables/layout/Menus/configurationMenu.ts

@@ -30,17 +30,18 @@ class ConfigurationMenu extends BaseMenu implements Menu {
     const children: ItemsMenu = []
 
     if (this.$ability.can('display', 'organization_page')) {
-      // children.push(this.constructMenu('organization_page', undefined, `/main/organizations/${this.$store.state.profile.organization.id}/dashboard`, true))
-      children.push(this.constructMenu('organization_page', undefined, `/organization`, true))
+      children.push(this.constructMenu('organization_page', undefined, `/main/organizations/${this.$store.state.profile.organization.id}/dashboard`, true))
+      // children.push(this.constructMenu('organization_page', undefined, `/organization`, true))
     }
 
     if (this.$ability.can('display', 'cmf_licence_page')) {
-      children.push(this.constructMenu('cmf_licence_generate', undefined, '/cmf_licence/organization', true))
+      children.push(this.constructMenu('cmf_licence_generate', undefined, '/licence_cmf/organization', true))
+      // children.push(this.constructMenu('cmf_licence_generate', undefined, '/cmf_licence/organization', false))
     }
 
     if (this.$ability.can('display', 'parameters_page')) {
-      // children.push(this.constructMenu('parameters', undefined,`/main/edit/parameters/${this.$store.state.profile.organization.id}`, true))
-      children.push(this.constructMenu('parameters', undefined,`/parameters`, true))
+      children.push(this.constructMenu('parameters', undefined,`/main/edit/parameters/${this.$store.state.profile.organization.id}`, true))
+      // children.push(this.constructMenu('parameters', undefined,`/parameters`, true))
     }
 
     if (this.$ability.can('display', 'place_page')) {