fix(internal-chat): preload route components to avoid navigation freeze on slow connections

This commit is contained in:
gabrieljablonski 2026-04-11 15:55:17 -03:00
parent 3aca86aa43
commit 7e555b624e

View File

@ -1,6 +1,6 @@
import { frontendURL } from '../../../helper/URLHelper';
const InternalChatLayout = () => import('./InternalChatLayout.vue');
import InternalChatLayout from './InternalChatLayout.vue';
import DraftsList from './DraftsList.vue';
const INTERNAL_CHAT_PERMISSIONS = ['administrator', 'agent'];
@ -56,7 +56,7 @@ export default {
meta: {
permissions: INTERNAL_CHAT_PERMISSIONS,
},
component: () => import('./DraftsList.vue'),
component: DraftsList,
},
],
},