Add missing route to Roadm UI

Change-Id: Iece3e2212e0a227efbc0b015f3826ca3e86b77f8
This commit is contained in:
Yi Tseng 2020-02-12 14:46:07 -08:00
parent 811ea2b63d
commit bb93b6e7ff
No known key found for this signature in database
GPG Key ID: 33C15ED40EA83AD7
2 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,9 @@ import { RoadmPortComponent } from './port/port.component';
],
imports: [
RouterModule,
RouterModule.forChild([{path: 'roadm-port-gui', component: RoadmPortComponent}]),
RouterModule.forChild([
{path: '', component: RoadmDeviceComponent},
{path: 'roadm-port-gui', component: RoadmPortComponent}]),
Gui2FwLibModule,
CommonModule,
FormsModule,

View File

@ -108,7 +108,7 @@ const onosRoutes: Route[] = [
},
<Route>{
path: 'roadm-gui',
pathMatch: 'full',
pathMatch: 'prefix',
loadChildren: () => import('../../../../../../apps/roadm/web/roadm-gui/lib/roadm-gui-lib.module').then(m => m.RoadmGuiLibModule)
},
<Route>{