Ensures users are seamlessly directed to the first available menu item upon opening a group, improving UX by reducing unnecessary clicks. This change enhances navigation flow within groups. Co-authored-by: Pranav <pranavrajs@gmail.com>
20 lines
460 B
JavaScript
20 lines
460 B
JavaScript
import { frontendURL } from '../../helper/URLHelper';
|
|
import {
|
|
ROLES,
|
|
CONVERSATION_PERMISSIONS,
|
|
CONTACT_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],
|
|
},
|
|
component: SearchView,
|
|
},
|
|
];
|