diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue
index cebc0665dfcf..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) {