From 045bcd792552f3d21e210198cc8ff30845178451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Wed, 26 Jan 2022 20:17:29 +0100 Subject: [PATCH] ui: move volume link to the source column and fix the link target (#11896) The link target used the volume name instead of the volume id. Fixes issue #11884. --- .changelog/11896.txt | 3 +++ .../allocations/allocation/task/index.hbs | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 .changelog/11896.txt diff --git a/.changelog/11896.txt b/.changelog/11896.txt new file mode 100644 index 000000000000..783bc1431784 --- /dev/null +++ b/.changelog/11896.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fix the link target for CSI volumes on the task detail page +``` diff --git a/ui/app/templates/allocations/allocation/task/index.hbs b/ui/app/templates/allocations/allocation/task/index.hbs index 7cf44fd97bf2..e033567c7b81 100644 --- a/ui/app/templates/allocations/allocation/task/index.hbs +++ b/ui/app/templates/allocations/allocation/task/index.hbs @@ -108,18 +108,18 @@ - + {{row.model.volume}} + {{row.model.destination}} + {{if row.model.readOnly "Read" "Read/Write"}} + {{#if row.model.isCSI}} - - {{row.model.volume}} + + {{row.model.source}} {{else}} - {{row.model.volume}} + {{row.model.source}} {{/if}} - {{row.model.destination}} - {{if row.model.readOnly "Read" "Read/Write"}} - {{row.model.source}}