mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-25 07:31:04 +00:00
Fix resource pool detail path.
This commit is contained in:
parent
607c190a9a
commit
0a48b46754
@ -86,7 +86,7 @@ const routes: Routes = [
|
||||
{ path: 'bundled', component: BundledControllerFinderComponent },
|
||||
{ path: 'controller/:controller_id/login', component: LoginComponent },
|
||||
{ path: 'controller/:controller_id/loggeduser', component: LoggedUserComponent },
|
||||
{path : 'controller/:controller_id/image-manager', component: ImageManagerComponent},
|
||||
{ path : 'controller/:controller_id/image-manager', component: ImageManagerComponent},
|
||||
{
|
||||
path: 'controller/:controller_id/projects',
|
||||
component: ProjectsComponent,
|
||||
@ -107,7 +107,7 @@ const routes: Routes = [
|
||||
controller: ControllerResolve},
|
||||
},
|
||||
{
|
||||
path: 'controller/:controller_id/management/resourcePools/:pool_id',
|
||||
path: 'controller/:controller_id/management/pools/:pool_id',
|
||||
component: ResourcePoolDetailsComponent,
|
||||
canActivate: [LoginGuard],
|
||||
resolve: {
|
||||
|
@ -5,7 +5,7 @@
|
||||
mat-icon-button
|
||||
matTooltip="back to resource pools management"
|
||||
mattooltipclass="custom-tooltip"
|
||||
[routerLink]="['/controller', controller.id, 'management', 'resourcePools']">
|
||||
[routerLink]="['/controller', controller.id, 'management', 'pools']">
|
||||
<mat-icon aria-label="back to resource pools management">keyboard_arrow_left</mat-icon>
|
||||
</a>
|
||||
<h1 class="col">Resource pool {{pool.name}}</h1>
|
||||
|
@ -41,7 +41,7 @@
|
||||
<ng-container matColumnDef="name">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> Name</th>
|
||||
<td mat-cell *matCellDef="let element"><a class="table-link"
|
||||
routerLink="/controller/{{controller.id}}/management/resourcePools/{{element.resource_pool_id}}">{{element.name}}</a>
|
||||
routerLink="/controller/{{controller.id}}/management/pools/{{element.resource_pool_id}}">{{element.name}}</a>
|
||||
</td>
|
||||
</ng-container>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user