Commit 51a4ce9
authored
fix(tc): external address type resolution in trade dialog (#3118)
## Description
Fixes incorrect token type detection in `TradeCommunityTokenDialog` when
navigation always passes `externalAddress`. The dialog now derives
`ExternalAddressType` from Ion entity or token definition, and the token
page passes the correct origin `eventReference` for Ion tokens to keep
trade behavior consistent.
## Task ID
ION-4998
## Type of Change
- [x] Bug fix
## Screenshots
<img width="350" alt="image"
src="https://github.com/user-attachments/assets/d11f312c-0895-464e-ab7f-093ebc450687"
/>1 parent 62e2e71 commit 51a4ce9
2 files changed
Lines changed: 13 additions & 7 deletions
File tree
- lib/app/features/tokenized_communities/views
- pages
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
203 | | - | |
204 | | - | |
205 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
206 | 211 | | |
207 | 212 | | |
208 | 213 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments