{DEV] still work
This commit is contained in:
parent
4ff2b247b4
commit
763875fbdf
@ -21,7 +21,7 @@ import { ForbiddenScene, OnlyUsersGuardHome, HomeOutScene, OnlyUnregisteredGuard
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
||||
|
||||
//{ path: 'forbidden', component: ForbiddenScene },
|
||||
{ path: 'forbidden', component: ForbiddenScene },
|
||||
|
||||
// ------------------------------------
|
||||
// -- home global interface
|
||||
@ -29,7 +29,7 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'home',
|
||||
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
|
||||
},
|
||||
/*
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!-- Generic global menu -->
|
||||
<karcw-top-menu [menu]="currentMenu" (callback)="eventOnMenu($event)"/>
|
||||
<!-- all interfaced pages -->
|
||||
<router-outlet ></router-outlet>
|
||||
<!--
|
||||
<div class="main-content">
|
||||
@if(autoConnectedDone) {
|
||||
|
@ -99,6 +99,6 @@ import { CommonModule } from "@angular/common";
|
||||
bootstrap: [
|
||||
AppComponent
|
||||
],
|
||||
//schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
|
||||
})
|
||||
export class AppModule { }
|
||||
|
Loading…
Reference in New Issue
Block a user