Skip to content

Commit

Permalink
Show asset names in XCM selector
Browse files Browse the repository at this point in the history
  • Loading branch information
jvonasek committed Sep 20, 2024
1 parent 3121dff commit 4f7ebce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-keys-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@galacticcouncil/apps': minor
---

Show asset names in XCM selector
4 changes: 2 additions & 2 deletions packages/apps/src/element/selector/SelectXAsset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ export class SelectXAsset extends LitElement {
?selected=${this.isSelected(asset)}
.asset=${{ symbol: asset.key }}
.unit=${balance ? asset.originSymbol : null}
.balance=${displayBalance}>
.balance=${displayBalance}>
${this.formAssetTemplate(asset)}
</uigc-asset>
</uigc-asset-list-item>
`;
}
Expand Down Expand Up @@ -127,6 +126,7 @@ export class SelectXAsset extends LitElement {
return html`
<gc-asset-identicon
slot="asset"
.showDesc=${true}
.asset=${registryAsset}
.assets=${this.registry}
.ecosystem=${this.ecosystem}></gc-asset-identicon>
Expand Down

0 comments on commit 4f7ebce

Please sign in to comment.