fix(@desktop/wallet): SwapModal: Fix for can approve Swap with no amount entered

fixes #15553
This commit is contained in:
Khushboo Mehta 2024-07-16 17:19:56 +02:00 committed by Khushboo-dev-cpp
parent 1e88756c13
commit fd3b76115f
1 changed files with 5 additions and 5 deletions

View File

@ -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