fix(Wallet/AssetsView): Properly filter by account/chain
Closes: #15683
This commit is contained in:
parent
765b526493
commit
16e55505c0
|
@ -78,7 +78,6 @@ QObject {
|
|||
marketPrice [double] - specifies market price in currently used currency
|
||||
marketChangePct24hour [double] - percentage price change in last 24 hours, e.g. 0.5 for 0.5% of price change
|
||||
|
||||
position [int] - if custom order available, display position fetched from ManageTokensController
|
||||
canBeHidden [bool] - specifies if given token can be hidden (e.g. ETH should be always visible)
|
||||
|
||||
communityIcon [url] - renamed from communityImage
|
||||
|
@ -117,6 +116,9 @@ QObject {
|
|||
if (!model.visible)
|
||||
return false
|
||||
|
||||
if (filteredBalances.ModelCount.count === 0)
|
||||
return false
|
||||
|
||||
if (hasCommunityId)
|
||||
return true
|
||||
|
||||
|
@ -176,7 +178,7 @@ QObject {
|
|||
expectedRoles:
|
||||
["tokensKey", "symbol", "image", "balances", "decimals",
|
||||
"detailsLoading", "marketDetails", "communityId", "communityImage",
|
||||
"position", "visible"]
|
||||
"visible"]
|
||||
exposedRoles:
|
||||
["key", "error", "balance", "balanceText", "icon",
|
||||
"visible", "canBeHidden", "marketDetailsAvailable", "marketDetailsLoading",
|
||||
|
|
Loading…
Reference in New Issue