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
(cherry picked from commit 31fa24a8c9)
mr13.4
Debora Crescenzo 9 months ago
parent 55f9151d6f
commit 3d9bad7073

@ -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',

@ -106,7 +106,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
} }
}, },
{ {
@ -126,7 +127,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