From bf14d20d550657063efa0c884d3bb964876519e2 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Mon, 23 Jun 2025 12:25:53 -0400 Subject: [PATCH 1/2] UI: Fix OS Type displayed --- ui/src/components/view/InfoCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index cebc0665dfcf..07e88ebd2c77 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -35,7 +35,7 @@ - + Date: Mon, 23 Jun 2025 13:49:03 -0400 Subject: [PATCH 2/2] remove unnecessary method for os name change --- 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 07e88ebd2c77..f208599f8a48 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) {