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
master
Debora Crescenzo 2 weeks ago
parent 7cb3addfb9
commit 31fa24a8c9

@ -98,7 +98,7 @@ export default {
to: '/user/subscriber-phonebook', to: '/user/subscriber-phonebook',
icon: 'fas fa-user', icon: 'fas fa-user',
label: this.$t('Subscriber Phonebook'), label: this.$t('Subscriber Phonebook'),
visible: this.hasLicenses([LICENSES.phonebook]) visible: !this.isSpCe && this.hasLicenses([LICENSES.phonebook])
}, },
{ {
icon: 'settings_phone', icon: 'settings_phone',

@ -107,7 +107,8 @@ const routes = [
get title () { get title () {
return i18n.global.t('Subscriber Phonebook') return i18n.global.t('Subscriber Phonebook')
}, },
licenses: [LICENSES.phonebook] licenses: [LICENSES.phonebook],
allowCE: false
} }
}, },
{ {
@ -127,7 +128,8 @@ const routes = [
get title () { get title () {
return i18n.global.t('Subscriber Phonebook') return i18n.global.t('Subscriber Phonebook')
}, },
licenses: [LICENSES.phonebook] licenses: [LICENSES.phonebook],
allowCE: false
} }
}, },
{ {

Loading…
Cancel
Save