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
|
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
|
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)
|
canBeHidden [bool] - specifies if given token can be hidden (e.g. ETH should be always visible)
|
||||||
|
|
||||||
communityIcon [url] - renamed from communityImage
|
communityIcon [url] - renamed from communityImage
|
||||||
|
@ -117,6 +116,9 @@ QObject {
|
||||||
if (!model.visible)
|
if (!model.visible)
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
if (filteredBalances.ModelCount.count === 0)
|
||||||
|
return false
|
||||||
|
|
||||||
if (hasCommunityId)
|
if (hasCommunityId)
|
||||||
return true
|
return true
|
||||||
|
|
||||||
|
@ -176,7 +178,7 @@ QObject {
|
||||||
expectedRoles:
|
expectedRoles:
|
||||||
["tokensKey", "symbol", "image", "balances", "decimals",
|
["tokensKey", "symbol", "image", "balances", "decimals",
|
||||||
"detailsLoading", "marketDetails", "communityId", "communityImage",
|
"detailsLoading", "marketDetails", "communityId", "communityImage",
|
||||||
"position", "visible"]
|
"visible"]
|
||||||
exposedRoles:
|
exposedRoles:
|
||||||
["key", "error", "balance", "balanceText", "icon",
|
["key", "error", "balance", "balanceText", "icon",
|
||||||
"visible", "canBeHidden", "marketDetailsAvailable", "marketDetailsLoading",
|
"visible", "canBeHidden", "marketDetailsAvailable", "marketDetailsLoading",
|
||||||
|
|
Loading…
Reference in New Issue