Add register device placeholder
This commit is contained in:
@@ -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 {RegisterDeviceComponent} from './registerdevice/registerdevice.component';
|
||||
import {NotImplementedComponent} from '@farmmaps/common';
|
||||
import { NavBarGuard } from 'projects/common/src/public-api';
|
||||
|
||||
@@ -27,7 +28,7 @@ const routes = [
|
||||
path: '',
|
||||
redirectTo: 'map',
|
||||
pathMatch: 'full'
|
||||
},
|
||||
},
|
||||
{
|
||||
path:'editor/:type/item/:itemcode',
|
||||
canActivate:[NavBarGuard],
|
||||
@@ -47,7 +48,12 @@ const routes = [
|
||||
path: ':xCenter/:yCenter/:zoom/:rotation/:baseLayer/:queryState',
|
||||
component: MapComponent
|
||||
}
|
||||
]}
|
||||
]},
|
||||
{
|
||||
path:'registerdevice/:deviceToken',
|
||||
canActivate:[FullScreenGuard],
|
||||
component:RegisterDeviceComponent
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
Reference in New Issue
Block a user