diff --git a/src/components/CscMainMenuTop.vue b/src/components/CscMainMenuTop.vue index bc64fbe7..9cfe6e21 100644 --- a/src/components/CscMainMenuTop.vue +++ b/src/components/CscMainMenuTop.vue @@ -137,7 +137,7 @@ export default { to: '/user/fax-settings', icon: 'fas fa-fax', label: this.$t('Fax Settings'), - visible: this.hasFaxCapability + visible: this.hasFaxCapability && this.hasSubscriberProfileAttribute('fax_server') }, { icon: 'miscellaneous_services', diff --git a/src/router/routes.js b/src/router/routes.js index efcab355..1af7e6b5 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -216,7 +216,8 @@ export default function routes (app) { component: CscPageFaxSettings, meta: { title: i18n.t('Fax Settings'), - subtitle: i18n.t('Set your fax settings') + subtitle: i18n.t('Set your fax settings'), + profileAttribute: 'fax_server' }, async beforeEnter (routeTo, routeFrom, next) { if (app.store.getters['user/hasFaxCapability']) {