Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 4ba310b

Browse files
committed
fix: add on-chain identity after destination address
1 parent 8b264c2 commit 4ba310b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/shared/format/Identity.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ export default class Identity extends mixins(InlineMixin) {
5656
5757
get name(): Address {
5858
const name = this.identity.display
59-
return name as string || shortAddress(this.resolveAddress(this.address))
59+
return name
60+
? `${shortAddress(this.resolveAddress(this.address))} (${name})`
61+
: shortAddress(this.resolveAddress(this.address))
6062
}
6163
6264
get twitter(): Address {

0 commit comments

Comments
 (0)