Add test component
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2020-10-06 09:07:40 +02:00
parent da2492e017
commit 640c99cde2
8 changed files with 78 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ import { MenuComponent } from './menu/menu.component';
import {RegisterDeviceComponent} from './registerdevice/registerdevice.component';
import {NotImplementedComponent} from '@farmmaps/common';
import { NavBarGuard } from 'projects/common/src/public-api';
import {TestComponent} from './test/test.component';
export function urlMatcher(url: UrlSegment[]) {
return {consumed:url};
@@ -59,12 +60,16 @@ const routes = [
{
path: ':queryState',
component: MapComponent
}
}
]},
{
path:'registerdevice/:deviceToken',
canActivate:[FullScreenGuard],
component:RegisterDeviceComponent
},
{
path:'test',
component: TestComponent
}
];