feat: update app version and build details; refactor auth service and components for improved functionality

This commit is contained in:
2026-05-16 16:11:58 +03:30
parent 3f75d82295
commit fe09aa4931
10 changed files with 124 additions and 40 deletions
+6 -8
View File
@@ -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' },