iachat/app/javascript/dashboard/routes/dashboard/notifications/routes.js
Sivin Varghese 7a5ea89fd9
chore: Sidebar improvements in small screens (#5400)
* chore: Sidebar improvements in small screens

* chore: Minor fixes
2022-09-06 14:06:26 +05:30

26 lines
662 B
JavaScript

/* eslint arrow-body-style: 0 */
import NotificationsView from './components/NotificationsView.vue';
import { frontendURL } from '../../../helper/URLHelper';
import SettingsWrapper from '../settings/Wrapper';
export const routes = [
{
path: frontendURL('accounts/:accountId/notifications'),
component: SettingsWrapper,
props: {
headerTitle: 'NOTIFICATIONS_PAGE.HEADER',
icon: 'alert',
showNewButton: false,
showSidemenuIcon: false,
},
children: [
{
path: '',
name: 'notifications_index',
component: NotificationsView,
roles: ['administrator', 'agent'],
},
],
},
];