iachat/app/javascript/dashboard/routes/dashboard/notifications/routes.js
2025-07-01 09:43:44 +05:30

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'],
},
},
],
},
];