feat: streamline routing and layout initialization for POS module

This commit is contained in:
2026-05-11 16:24:57 +03:30
parent 3e48e8fd5c
commit 88adb566eb
4 changed files with 13 additions and 14 deletions
+7 -7
View File
@@ -10,13 +10,13 @@ export const appRoutes: Routes = [
{
path: '',
loadComponent: () => import('@/layout/default/app.layout.component').then((m) => m.AppLayout),
children: [
SUPER_ADMIN_ROUTES,
CONSUMER_ROUTES,
PROVIDER_ROUTES,
PARTNER_ROUTES,
...POS_ROUTES.children!,
],
children: [SUPER_ADMIN_ROUTES, CONSUMER_ROUTES, PROVIDER_ROUTES, PARTNER_ROUTES],
},
{
path: 'pos',
loadComponent: () =>
import('@/domains/pos/layouts/layout.component').then((m) => m.PosLayoutComponent),
children: [POS_ROUTES],
},
{