feat: update app version and build details; refactor auth service and components for improved functionality
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { posAuthNamedRoutes } from '@/domains/pos/modules/auth/constants';
|
||||
import { POS_ROUTES } from '@/domains/pos/routes';
|
||||
import { Notfound } from '@/pages/notfound/notfound.component';
|
||||
import { Routes } from '@angular/router';
|
||||
@@ -7,14 +8,11 @@ export const appRoutes: Routes = [
|
||||
path: '',
|
||||
loadComponent: () =>
|
||||
import('@/domains/pos/layouts/layout.component').then((m) => m.PosLayoutComponent),
|
||||
children: [
|
||||
POS_ROUTES,
|
||||
{
|
||||
path: 'auth',
|
||||
loadComponent: () =>
|
||||
import('@/modules/auth/pages/auth.component').then((m) => m.AuthComponent),
|
||||
},
|
||||
],
|
||||
children: [POS_ROUTES],
|
||||
},
|
||||
{
|
||||
...posAuthNamedRoutes.login,
|
||||
path: 'auth',
|
||||
},
|
||||
{ path: 'notfound', component: Notfound },
|
||||
{ path: '**', redirectTo: '/notfound' },
|
||||
|
||||
Reference in New Issue
Block a user