mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-01 17:27:53 +00:00
fix(ButCrypto): Fixing assets filtering when the selected chain changes
This commit is contained in:
parent
1d430c53e2
commit
2098300d8f
@ -32,7 +32,11 @@ QObject {
|
||||
root.selectedProviderSupportedAssetsArray.includes(addPerChain.chainId+addPerChain.address)
|
||||
})
|
||||
}
|
||||
expression: isSupportedByProvider(model.addressPerChain)
|
||||
expression: {
|
||||
root.selectedChainId //dependency
|
||||
root.selectedProviderSupportedAssetsArray //dependency
|
||||
isSupportedByProvider(model.addressPerChain)
|
||||
}
|
||||
expectedRoles: ["addressPerChain"]
|
||||
enabled: !!root.selectedProviderSupportedAssetsArray && root.selectedProviderSupportedAssetsArray.length > 0 && root.selectedChainId !== -1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user