mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-05 21:48:03 +00:00
26 lines
543 B
JavaScript
26 lines
543 B
JavaScript
import { frontendURL } from '../../helper/URLHelper';
|
|
import {
|
|
ROLES,
|
|
CONVERSATION_PERMISSIONS,
|
|
CONTACT_PERMISSIONS,
|
|
PORTAL_PERMISSIONS,
|
|
} from 'dashboard/constants/permissions.js';
|
|
|
|
import SearchView from './components/SearchView.vue';
|
|
|
|
export const routes = [
|
|
{
|
|
path: frontendURL('accounts/:accountId/search'),
|
|
name: 'search',
|
|
meta: {
|
|
permissions: [
|
|
...ROLES,
|
|
...CONVERSATION_PERMISSIONS,
|
|
CONTACT_PERMISSIONS,
|
|
PORTAL_PERMISSIONS,
|
|
],
|
|
},
|
|
component: SearchView,
|
|
},
|
|
];
|