From 0a48b46754620662cc7ef400e12b9cfba5f4c65f Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 23 Nov 2023 12:23:39 +1000 Subject: [PATCH] Fix resource pool detail path. --- src/app/app-routing.module.ts | 4 ++-- .../resource-pool-details.component.html | 2 +- .../resource-pools-management.component.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 257d012b..12327e29 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -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: { diff --git a/src/app/components/resource-pool-details/resource-pool-details.component.html b/src/app/components/resource-pool-details/resource-pool-details.component.html index 46e8c371..291690b9 100644 --- a/src/app/components/resource-pool-details/resource-pool-details.component.html +++ b/src/app/components/resource-pool-details/resource-pool-details.component.html @@ -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']"> keyboard_arrow_left

Resource pool {{pool.name}}

diff --git a/src/app/components/resource-pools-management/resource-pools-management.component.html b/src/app/components/resource-pools-management/resource-pools-management.component.html index a96d8773..10d50dcd 100644 --- a/src/app/components/resource-pools-management/resource-pools-management.component.html +++ b/src/app/components/resource-pools-management/resource-pools-management.component.html @@ -41,7 +41,7 @@ Name {{element.name}} + routerLink="/controller/{{controller.id}}/management/pools/{{element.resource_pool_id}}">{{element.name}}