....
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 4s

This commit is contained in:
2025-11-17 17:19:18 +07:00
parent 304ed9294c
commit 2e07e728dd
37 changed files with 4776 additions and 48 deletions

View File

@@ -0,0 +1,29 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { MainDashboardContentComponent } from '../../content/main-dashboard-content/main-dashboard-content.component';
import { MainReportComponent } from '../../component/main-report/main-report.component';
// import { MainReportComponent } from '../../component/main-report/main-report.component';
const routes: Routes = [
{ path: 'dashboard', component: MainDashboardContentComponent },
{ path: 'report', component: MainReportComponent },
// children: [
// {
// path: 'dashboard',
// // loadChildren: () => import('./controls/profile-control/profile-control.module').then(m => m.ProfileControlModule)
// },
// { path: 'report', component: MainReportComponent },
// { path: '', redirectTo: 'profile', pathMatch: 'full' }
// ]
{ path: '', redirectTo: 'dashboard', pathMatch: 'full' },
{ path: '**', redirectTo: 'dashboard' }
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class MainControlRoutingModule { }