Skip to content

Commit 33bd083

Browse files
JoaoJandreJoão Paraquetti
andauthored
Show name instead of description in the infocards and breadcrumbs (#6769)
Co-authored-by: João Paraquetti <joao@scclouds.com.br>
1 parent 7fa41dd commit 33bd083

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/src/components/view/InfoCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ export default {
800800
'RemoteAccessVpn', 'User', 'SnapshotPolicy', 'VpcOffering']
801801
},
802802
name () {
803-
return this.resource.displayname || this.resource.displaytext || this.resource.name || this.resource.username ||
803+
return this.resource.displayname || this.resource.name || this.resource.displaytext || this.resource.username ||
804804
this.resource.ipaddress || this.resource.virtualmachinename || this.resource.templatetype
805805
},
806806
keypairs () {

ui/src/components/widgets/Breadcrumb.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</span>
3535
</label>
3636
<label v-else>
37-
{{ resource.displayname || resource.displaytext || resource.name || resource.hostname || resource.username || resource.ipaddress || $route.params.id }}
37+
{{ resource.displayname || resource.name || resource.displaytext || resource.hostname || resource.username || resource.ipaddress || $route.params.id }}
3838
</label>
3939
</span>
4040
<span v-else>

0 commit comments

Comments
 (0)