{DEV] still work
This commit is contained in:
parent
4ff2b247b4
commit
763875fbdf
@ -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
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
{
|
{
|
||||||
|
@ -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) {
|
||||||
|
@ -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 { }
|
||||||
|
Loading…
Reference in New Issue
Block a user