This is the continuation of the design update series. Canned responses listing page is rewritten with the design change. --------- Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Shivam Mishra <scm.mymail@gmail.com> Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com>
28 lines
620 B
JavaScript
28 lines
620 B
JavaScript
import { frontendURL } from '../../../../helper/URLHelper';
|
|
|
|
const SettingsWrapper = () => import('../SettingsWrapper.vue');
|
|
const CannedHome = () => import('./Index.vue');
|
|
|
|
export default {
|
|
routes: [
|
|
{
|
|
path: frontendURL('accounts/:accountId/settings/canned-response'),
|
|
component: SettingsWrapper,
|
|
children: [
|
|
{
|
|
path: '',
|
|
redirect: 'list',
|
|
},
|
|
{
|
|
path: 'list',
|
|
name: 'canned_list',
|
|
meta: {
|
|
permissions: ['administrator', 'agent'],
|
|
},
|
|
component: CannedHome,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|