ui/csi: fix links to volume IDs (#9355)

This commit is contained in:
Tim Gross 2020-11-13 15:44:34 -05:00 committed by GitHub
parent 4cc3c01d5b
commit 8df5f28dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<li data-test-volume>
<strong>{{volume.volume}}:</strong>
{{#if volume.isCSI}}
<LinkTo @route="csi.volumes.volume" @model={{volume.volume}} @query={{hash volumeNamespace=volume.namespace.id}}>
<LinkTo @route="csi.volumes.volume" @model={{volume.source}} @query={{hash volumeNamespace=volume.namespace.id}}>
{{volume.source}}
</LinkTo>
{{else}}

View File

@ -176,7 +176,7 @@
<tr data-test-volume>
<td data-test-volume-name>
{{#if row.model.isCSI}}
<LinkTo @route="csi.volumes.volume" @model={{row.model.name}} @query={{hash volumeNamespace=row.model.namespace.id}}>
<LinkTo @route="csi.volumes.volume" @model={{row.model.source}} @query={{hash volumeNamespace=row.model.namespace.id}}>
{{row.model.name}}
</LinkTo>
{{else}}