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…
Reference in New Issue