Show name instead of description in the infocards and breadcrumbs (#6769)

Co-authored-by: João Paraquetti <joao@scclouds.com.br>
This commit is contained in:
João Jandre 2022-09-29 10:22:02 -03:00 committed by GitHub
parent 7fa41ddfcc
commit 33bd08369b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -800,7 +800,7 @@ export default {
'RemoteAccessVpn', 'User', 'SnapshotPolicy', 'VpcOffering'] 'RemoteAccessVpn', 'User', 'SnapshotPolicy', 'VpcOffering']
}, },
name () { 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 this.resource.ipaddress || this.resource.virtualmachinename || this.resource.templatetype
}, },
keypairs () { keypairs () {

View File

@ -34,7 +34,7 @@
</span> </span>
</label> </label>
<label v-else> <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> </label>
</span> </span>
<span v-else> <span v-else>