Skip to content

Commit bf14d20

Browse files
committed
UI: Fix OS Type displayed
1 parent 0bd35a5 commit bf14d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/view/InfoCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<resource-icon :image="resourceIcon" size="4x" style="margin-right: 5px"/>
3636
</span>
3737
<span v-else>
38-
<os-logo v-if="resource.ostypeid || resource.ostypename || ['guestoscategory'].includes($route.path.split('/')[1])" :osId="resource.ostypeid" :osName="resource.ostypename || resource.name" size="3x" @update-osname="setResourceOsType"/>
38+
<os-logo v-if="resource.ostypeid || resource.ostypename || ['guestoscategory'].includes($route.path.split('/')[1])" :osId="resource.ostypeid" :osName="resource.ostypename || resource.osdisplayname || resource.name" size="3x" @update-osname="setResourceOsType"/>
3939
<render-icon v-else-if="typeof $route.meta.icon ==='string'" style="font-size: 36px" :icon="$route.meta.icon" />
4040
<font-awesome-icon
4141
v-else-if="$route.meta.icon && Array.isArray($route.meta.icon)"

0 commit comments

Comments
 (0)