From 33bd08369b70a7e966cfe353af9fea7a65e606df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Jandre?= <48719461+JoaoJandre@users.noreply.github.com> Date: Thu, 29 Sep 2022 10:22:02 -0300 Subject: [PATCH] Show name instead of description in the infocards and breadcrumbs (#6769) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: João Paraquetti --- 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 02385ff174a..0bc6df661aa 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 d871390bd86..68004605334 100644 --- a/ui/src/components/widgets/Breadcrumb.vue +++ b/ui/src/components/widgets/Breadcrumb.vue @@ -34,7 +34,7 @@