mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
fix(@desktop/wallet): SwapModal: Fix for can approve Swap with no amount entered
fixes #15553
This commit is contained in:
parent
1e88756c13
commit
fd3b76115f
@ -47,15 +47,15 @@ StatusDialog {
|
||||
|
||||
function fetchSuggestedRoutes() {
|
||||
if (root.swapInputParamsForm.isFormFilledCorrectly()) {
|
||||
root.swapAdaptor.validSwapProposalReceived = false
|
||||
root.swapAdaptor.swapProposalLoading = true
|
||||
}
|
||||
root.swapAdaptor.validSwapProposalReceived = false
|
||||
root.swapAdaptor.approvalPending = false
|
||||
root.swapAdaptor.approvalSuccessful = false
|
||||
root.swapAdaptor.swapOutputData.resetPathInfoAndError()
|
||||
debounceFetchSuggestedRoutes()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root.swapInputParamsForm
|
||||
|
Loading…
x
Reference in New Issue
Block a user