{DEV] still work

This commit is contained in:
Edouard DUPIN 2024-04-07 09:02:17 +02:00
parent 4ff2b247b4
commit 763875fbdf
3 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ import { ForbiddenScene, OnlyUsersGuardHome, HomeOutScene, OnlyUnregisteredGuard
const routes: Routes = [ const routes: Routes = [
{ path: '', redirectTo: '/home', pathMatch: 'full' }, { path: '', redirectTo: '/home', pathMatch: 'full' },
//{ path: 'forbidden', component: ForbiddenScene }, { path: 'forbidden', component: ForbiddenScene },
// ------------------------------------ // ------------------------------------
// -- home global interface // -- home global interface
@ -29,7 +29,7 @@ const routes: Routes = [
{ {
path: 'home', path: 'home',
component: HomeScene, component: HomeScene,
//canActivate: [OnlyUsersGuardHome], // this route to unregistered path when not logged ==> permit to simplify display canActivate: [OnlyUsersGuardHome], // this route to unregistered path when not logged ==> permit to simplify display
}, },
/* /*
{ {

View File

@ -1,6 +1,7 @@
<!-- Generic global menu --> <!-- Generic global menu -->
<karcw-top-menu [menu]="currentMenu" (callback)="eventOnMenu($event)"/> <karcw-top-menu [menu]="currentMenu" (callback)="eventOnMenu($event)"/>
<!-- all interfaced pages --> <!-- all interfaced pages -->
<router-outlet ></router-outlet>
<!-- <!--
<div class="main-content"> <div class="main-content">
@if(autoConnectedDone) { @if(autoConnectedDone) {

View File

@ -99,6 +99,6 @@ import { CommonModule } from "@angular/common";
bootstrap: [ bootstrap: [
AppComponent AppComponent
], ],
//schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA], schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
}) })
export class AppModule { } export class AppModule { }