remove empty

This commit is contained in:
liangping 2023-02-07 16:42:12 +08:00
parent 22ad78e23d
commit 7683cca288

View File

@ -23,13 +23,15 @@
style="color: #fff" style="color: #fff"
class="mb-0" class="mb-0"
> >
{{ $t('walletAccountDetail.address') }} <feather-icon {{ $t('walletAccountDetail.address') }}
<feather-icon
icon="CopyIcon" icon="CopyIcon"
size="18" size="18"
@click="copy()" @click="copy()"
/> />
</h3> </h3>
{{ address }} <b-badge {{ address }}
<b-badge
v-for="name in names" v-for="name in names"
:key="name.name" :key="name.name"
v-b-tooltip.hover.top="name.provider" v-b-tooltip.hover.top="name.provider"
@ -692,10 +694,12 @@ export default {
this.error = err this.error = err
}) })
this.$http.resolveStarName(this.address).then(x => { this.$http.resolveStarName(this.address).then(x => {
if (x.data) {
this.names.push({ this.names.push({
provider: 'Stargaze', provider: 'Stargaze',
name: x.data, name: x.data,
}) })
}
}) })
resolvePrimaryDomainByAddress(this.address).then(result => { resolvePrimaryDomainByAddress(this.address).then(result => {
if (result.isOk()) { if (result.isOk()) {