|
|
@ -133,14 +133,8 @@ export default function routes (app) {
|
|
|
|
component: CscPageReminder,
|
|
|
|
component: CscPageReminder,
|
|
|
|
meta: {
|
|
|
|
meta: {
|
|
|
|
title: i18n.t('Reminder'),
|
|
|
|
title: i18n.t('Reminder'),
|
|
|
|
subtitle: i18n.t('Set your personal alarm')
|
|
|
|
subtitle: i18n.t('Set your personal alarm'),
|
|
|
|
},
|
|
|
|
profileAttribute: 'reminder'
|
|
|
|
async beforeEnter (routeTo, routeFrom, next) {
|
|
|
|
|
|
|
|
if (app.store.getters['user/hasSubscriberProfileAttribute']('reminder')) {
|
|
|
|
|
|
|
|
next()
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
next('/')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -212,7 +206,8 @@ export default function routes (app) {
|
|
|
|
component: CscPageVoicebox,
|
|
|
|
component: CscPageVoicebox,
|
|
|
|
meta: {
|
|
|
|
meta: {
|
|
|
|
title: i18n.t('Voicebox'),
|
|
|
|
title: i18n.t('Voicebox'),
|
|
|
|
subtitle: i18n.t('Set your voicebox settings')
|
|
|
|
subtitle: i18n.t('Set your voicebox settings'),
|
|
|
|
|
|
|
|
profileAttribute: 'voice_mail'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|