* feat: Inbox view * feat: Bind real values * chore: code cleanup * feat: add observer * fix: Inbox icon * chore: more code cleanup * chore: Replace conversation id * chore: Minor fix * chore: Hide from side bar * chore: Fix eslint * chore: Minor fix * fix: dark mode color * chore: Minor fix * feat: Add description for each notification types * chore: remove commented code * Update InboxList.vue * Update InboxView.vue * chore: fix specs * fix: specs * Update InboxView.vue --------- Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
34 lines
1.0 KiB
JavaScript
34 lines
1.0 KiB
JavaScript
import settings from './settings/settings.routes';
|
|
import conversation from './conversation/conversation.routes';
|
|
import { routes as searchRoutes } from '../../modules/search/search.routes';
|
|
import { routes as contactRoutes } from './contacts/routes';
|
|
import { routes as notificationRoutes } from './notifications/routes';
|
|
import { frontendURL } from '../../helper/URLHelper';
|
|
import helpcenterRoutes from './helpcenter/helpcenter.routes';
|
|
|
|
const AppContainer = () => import('./Dashboard.vue');
|
|
const Suspended = () => import('./suspended/Index.vue');
|
|
|
|
export default {
|
|
routes: [
|
|
...helpcenterRoutes.routes,
|
|
{
|
|
path: frontendURL('accounts/:account_id'),
|
|
component: AppContainer,
|
|
children: [
|
|
...conversation.routes,
|
|
...settings.routes,
|
|
...contactRoutes,
|
|
...searchRoutes,
|
|
...notificationRoutes,
|
|
],
|
|
},
|
|
{
|
|
path: frontendURL('accounts/:accountId/suspended'),
|
|
name: 'account_suspended',
|
|
roles: ['administrator', 'agent'],
|
|
component: Suspended,
|
|
},
|
|
],
|
|
};
|