-จัดการ flow ของ program ใหม่
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 5s
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 5s
This commit is contained in:
@@ -2,7 +2,7 @@ import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { SidebarContentComponent } from './content/sidebar-content/sidebar-content.component';
|
||||
import { LicensePrivacyTermsComponent } from './component/license-privacy-terms/license-privacy-terms.component';
|
||||
// import { authGuard } from './services/auth.guard';
|
||||
import { authGuard } from './services/auth.guard';
|
||||
|
||||
const routes: Routes = [
|
||||
|
||||
@@ -14,7 +14,7 @@ const routes: Routes = [
|
||||
path: 'main',
|
||||
component: SidebarContentComponent,
|
||||
canActivate: [
|
||||
// authGuard
|
||||
authGuard
|
||||
],
|
||||
children: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user