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)
(cherry picked from commit 67073ac0be)
mr12.5.1
Debora Crescenzo 2 months ago committed by Crescenzo Debora
parent 435b2a87ec
commit 3c9098e7d9

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

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

Loading…
Cancel
Save