This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 33bd08369b Show name instead of description in the infocards and
breadcrumbs (#6769)
33bd08369b is described below
commit 33bd08369b70a7e966cfe353af9fea7a65e606df
Author: João Jandre <[email protected]>
AuthorDate: Thu Sep 29 10:22:02 2022 -0300
Show name instead of description in the infocards and breadcrumbs (#6769)
Co-authored-by: João Paraquetti <[email protected]>
---
ui/src/components/view/InfoCard.vue | 2 +-
ui/src/components/widgets/Breadcrumb.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/src/components/view/InfoCard.vue
b/ui/src/components/view/InfoCard.vue
index 02385ff174..0bc6df661a 100644
--- a/ui/src/components/view/InfoCard.vue
+++ b/ui/src/components/view/InfoCard.vue
@@ -800,7 +800,7 @@ export default {
'RemoteAccessVpn', 'User', 'SnapshotPolicy', 'VpcOffering']
},
name () {
- return this.resource.displayname || this.resource.displaytext ||
this.resource.name || this.resource.username ||
+ return this.resource.displayname || this.resource.name ||
this.resource.displaytext || this.resource.username ||
this.resource.ipaddress || this.resource.virtualmachinename ||
this.resource.templatetype
},
keypairs () {
diff --git a/ui/src/components/widgets/Breadcrumb.vue
b/ui/src/components/widgets/Breadcrumb.vue
index d871390bd8..6800460533 100644
--- a/ui/src/components/widgets/Breadcrumb.vue
+++ b/ui/src/components/widgets/Breadcrumb.vue
@@ -34,7 +34,7 @@
</span>
</label>
<label v-else>
- {{ resource.displayname || resource.displaytext || resource.name ||
resource.hostname || resource.username || resource.ipaddress ||
$route.params.id }}
+ {{ resource.displayname || resource.name || resource.displaytext ||
resource.hostname || resource.username || resource.ipaddress ||
$route.params.id }}
</label>
</span>
<span v-else>