fix(internal-chat): preload route components to avoid navigation freeze on slow connections
This commit is contained in:
parent
3aca86aa43
commit
7e555b624e
@ -1,6 +1,6 @@
|
|||||||
import { frontendURL } from '../../../helper/URLHelper';
|
import { frontendURL } from '../../../helper/URLHelper';
|
||||||
|
import InternalChatLayout from './InternalChatLayout.vue';
|
||||||
const InternalChatLayout = () => import('./InternalChatLayout.vue');
|
import DraftsList from './DraftsList.vue';
|
||||||
|
|
||||||
const INTERNAL_CHAT_PERMISSIONS = ['administrator', 'agent'];
|
const INTERNAL_CHAT_PERMISSIONS = ['administrator', 'agent'];
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ export default {
|
|||||||
meta: {
|
meta: {
|
||||||
permissions: INTERNAL_CHAT_PERMISSIONS,
|
permissions: INTERNAL_CHAT_PERMISSIONS,
|
||||||
},
|
},
|
||||||
component: () => import('./DraftsList.vue'),
|
component: DraftsList,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user