Skip to content

Commit 31fa24a

Browse files
committed
MT#63591 Disable subscriber phonebook menu in CE platforms
This commit disables subscriber phonebook in CE platforms as the header manipulation and phonebook are only pro/carrier features. Change-Id: Icb5ceec69f675fbac61e9daf81698c81d0c8c28d
1 parent 7cb3add commit 31fa24a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/components/CscMainMenuTop.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default {
9898
to: '/user/subscriber-phonebook',
9999
icon: 'fas fa-user',
100100
label: this.$t('Subscriber Phonebook'),
101-
visible: this.hasLicenses([LICENSES.phonebook])
101+
visible: !this.isSpCe && this.hasLicenses([LICENSES.phonebook])
102102
},
103103
{
104104
icon: 'settings_phone',

src/router/routes.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ const routes = [
107107
get title () {
108108
return i18n.global.t('Subscriber Phonebook')
109109
},
110-
licenses: [LICENSES.phonebook]
110+
licenses: [LICENSES.phonebook],
111+
allowCE: false
111112
}
112113
},
113114
{
@@ -127,7 +128,8 @@ const routes = [
127128
get title () {
128129
return i18n.global.t('Subscriber Phonebook')
129130
},
130-
licenses: [LICENSES.phonebook]
131+
licenses: [LICENSES.phonebook],
132+
allowCE: false
131133
}
132134
},
133135
{

0 commit comments

Comments
 (0)