Fixes https://github.com/chatwoot/chatwoot/issues/8436 Fixes https://github.com/chatwoot/chatwoot/issues/9767 Fixes https://github.com/chatwoot/chatwoot/issues/10156 Fixes https://github.com/chatwoot/chatwoot/issues/6031 Fixes https://github.com/chatwoot/chatwoot/issues/5696 Fixes https://github.com/chatwoot/chatwoot/issues/9250 Fixes https://github.com/chatwoot/chatwoot/issues/9762 --------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
20 lines
470 B
JavaScript
20 lines
470 B
JavaScript
import { frontendURL } from '../../helper/URLHelper';
|
|
import {
|
|
ROLES,
|
|
CONVERSATION_PERMISSIONS,
|
|
CONTACT_PERMISSIONS,
|
|
} from 'dashboard/constants/permissions.js';
|
|
|
|
const SearchView = () => import('./components/SearchView.vue');
|
|
|
|
export const routes = [
|
|
{
|
|
path: frontendURL('accounts/:accountId/search'),
|
|
name: 'search',
|
|
meta: {
|
|
permissions: [...ROLES, ...CONVERSATION_PERMISSIONS, CONTACT_PERMISSIONS],
|
|
},
|
|
component: SearchView,
|
|
},
|
|
];
|