You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pe...@apache.org on 2025/06/23 16:26:11 UTC
(cloudstack) branch fix-os-type created (now bf14d20d550)
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a change to branch fix-os-type
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
at bf14d20d550 UI: Fix OS Type displayed
This branch includes the following new commits:
new bf14d20d550 UI: Fix OS Type displayed
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(cloudstack) 01/01: UI: Fix OS Type displayed
Posted by pe...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a commit to branch fix-os-type
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit bf14d20d550657063efa0c884d3bb964876519e2
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Mon Jun 23 12:25:53 2025 -0400
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 cebc0665dfc..07e88ebd2c7 100644
--- a/ui/src/components/view/InfoCard.vue
+++ b/ui/src/components/view/InfoCard.vue
@@ -35,7 +35,7 @@
<resource-icon :image="resourceIcon" size="4x" style="margin-right: 5px"/>
</span>
<span v-else>
- <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"/>
+ <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"/>
<render-icon v-else-if="typeof $route.meta.icon ==='string'" style="font-size: 36px" :icon="$route.meta.icon" />
<font-awesome-icon
v-else-if="$route.meta.icon && Array.isArray($route.meta.icon)"