diff --git a/src/components/CscMainMenuTop.vue b/src/components/CscMainMenuTop.vue index 5e4fc584..7e8cf6d7 100644 --- a/src/components/CscMainMenuTop.vue +++ b/src/components/CscMainMenuTop.vue @@ -98,7 +98,7 @@ export default { to: '/user/subscriber-phonebook', icon: 'fas fa-user', label: this.$t('Subscriber Phonebook'), - visible: this.hasLicenses([LICENSES.phonebook]) + visible: !this.isSpCe && this.hasLicenses([LICENSES.phonebook]) }, { icon: 'settings_phone', diff --git a/src/router/routes.js b/src/router/routes.js index c7cd4875..02bcdc07 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -107,7 +107,8 @@ const routes = [ get title () { return i18n.global.t('Subscriber Phonebook') }, - licenses: [LICENSES.phonebook] + licenses: [LICENSES.phonebook], + allowCE: false } }, { @@ -127,7 +128,8 @@ const routes = [ get title () { return i18n.global.t('Subscriber Phonebook') }, - licenses: [LICENSES.phonebook] + licenses: [LICENSES.phonebook], + allowCE: false } }, {