Show navbar
This commit is contained in:
parent
d3bc921000
commit
b46c33d15c
@ -6,6 +6,7 @@ import { MapComponent } from '@farmmaps/common-map';
|
||||
import { LogoComponent } from './logo/logo.component';
|
||||
import { MenuComponent } from './menu/menu.component';
|
||||
import {NotImplementedComponent} from '@farmmaps/common';
|
||||
import { NavBarGuard } from 'projects/common/src/public-api';
|
||||
|
||||
export function urlMatcher(url: UrlSegment[]) {
|
||||
return {consumed:url};
|
||||
@ -29,10 +30,12 @@ const routes = [
|
||||
},
|
||||
{
|
||||
path:'editor/:type/item/:itemcode',
|
||||
canActivate:[NavBarGuard],
|
||||
component: NotImplementedComponent
|
||||
},
|
||||
{
|
||||
path:'viewer/:type/item/:itemcode',
|
||||
canActivate:[NavBarGuard],
|
||||
component: NotImplementedComponent
|
||||
},
|
||||
{ path: 'map', canActivateChild: [AuthGuard],canActivate:[FullScreenGuard], children: [
|
||||
|
Loading…
Reference in New Issue
Block a user