Add NotImplemented page
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Willem Dantuma
2019-11-08 13:48:43 +01:00
parent 471a85a428
commit b620cedb6d
2 changed files with 15 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ import { AuthGuard,FullScreenGuard } from '@farmmaps/common';
import { MapComponent } from '@farmmaps/common-map';
import { LogoComponent } from './logo/logo.component';
import { MenuComponent } from './menu/menu.component';
import {NotImplementedComponent} from '@farmmaps/common';
const routes = [
{
@@ -12,6 +13,14 @@ const routes = [
redirectTo: 'map',
pathMatch: 'full'
},
{
path:'editor/:type/item/:itemcode',
component: NotImplementedComponent
},
{
path:'viewer/:type/item/:itemcode',
component: NotImplementedComponent
},
{ path: 'map', canActivateChild: [AuthGuard],canActivate:[FullScreenGuard], children: [
{
path: '',