From 45e68005013938ba5d62ade51027499c3ecaeb8a Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Thu, 18 Mar 2021 13:11:32 +0530 Subject: [PATCH] ui: Fix route to ISO From VM's Info Card / Detail View (#4839) * ui: Correct route to ISO on Info Card * Change label based on template/iso Co-authored-by: Pearl Dsilva --- ui/src/components/view/InfoCard.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index 2229f8ee976..a1d87da07a6 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -395,10 +395,15 @@
-
{{ $t('label.templatename') }}
+
{{ resource.isoid ? $t('label.iso') : $t('label.templatename') }}
- {{ resource.templatename || resource.templateid }} +
+ {{ resource.isoname || resource.isoid }} +
+
+ {{ resource.templatename || resource.templateid }} +