27 lines
655 B
JavaScript
27 lines
655 B
JavaScript
/* eslint arrow-body-style: 0 */
|
|
import { frontendURL } from '../../../helper/URLHelper';
|
|
import SettingsWrapper from '../settings/Wrapper.vue';
|
|
import NotificationsView from './components/NotificationsView.vue';
|
|
|
|
export const routes = [
|
|
{
|
|
path: frontendURL('accounts/:accountId/notifications'),
|
|
component: SettingsWrapper,
|
|
props: {
|
|
headerTitle: '',
|
|
icon: '',
|
|
showNewButton: false,
|
|
},
|
|
children: [
|
|
{
|
|
path: '',
|
|
name: 'notifications_index',
|
|
component: NotificationsView,
|
|
meta: {
|
|
permissions: ['administrator', 'agent', 'custom_role'],
|
|
},
|
|
},
|
|
],
|
|
},
|
|
];
|