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)
mr12.5
Debora Crescenzo 2 months ago committed by Crescenzo Debora
parent 512bc6d4a7
commit 67073ac0be

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

@ -100,7 +100,8 @@ const routes = [
get title () {
return i18n.global.tc('Subscriber Phonebook')
},
licenses: [LICENSES.phonebook]
licenses: [LICENSES.phonebook],
allowCE: false
}
},
{
@ -120,7 +121,8 @@ const routes = [
get title () {
return i18n.global.tc('Subscriber Phonebook')
},
licenses: [LICENSES.phonebook]
licenses: [LICENSES.phonebook],
allowCE: false
}
},
{

Loading…
Cancel
Save