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) {