From 071e612f404a7fe0af778cd66624887353617927 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Thu, 24 Jul 2025 03:29:36 -0400 Subject: [PATCH] UI: Fix OS Type displayed for a VM (#11075) * UI: Fix OS Type displayed * remove unnecessary method for os name change --------- Co-authored-by: Suresh Kumar Anaparti --- ui/src/components/view/InfoCard.vue | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index 53c22c2ef0d..450bf83a35d 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -35,7 +35,7 @@ - + -
+
{{ $t('label.ostypename') }}
- + - {{ resource.ostypename }} + {{ resource.ostypename || resource.osdisplayname }} - {{ resource.ostypename }} + {{ resource.ostypename || resource.osdisplayname }}
@@ -1252,10 +1252,6 @@ export default { this.getTags() }) }, - setResourceOsType (name) { - this.newResource.ostypename = name - this.$emit('change-resource', this.newResource) - }, getRouterQuery (item) { const query = {} if (item.value) {