From 16204d30f812f9d65368c4780b2e0755d6ef627c Mon Sep 17 00:00:00 2001 From: "Calum H." Date: Wed, 4 Feb 2026 14:56:14 +0000 Subject: [PATCH] fix: withdraw flow fixes (#5296) * fix: dev-741 currency exchanging bug * fix: remove redundant balance available check * fix: lint/fmt * fix: #5245 * fix: hide max if it's less than min --- .../TremendousDetailsStage.vue | 227 ++++++++++++++---- .../src/providers/creator-withdraw.ts | 19 +- apps/labrinth/src/routes/v3/payouts.rs | 8 +- 3 files changed, 196 insertions(+), 58 deletions(-) diff --git a/apps/frontend/src/components/ui/dashboard/withdraw-stages/TremendousDetailsStage.vue b/apps/frontend/src/components/ui/dashboard/withdraw-stages/TremendousDetailsStage.vue index 7835c7cdb..d33d0662f 100644 --- a/apps/frontend/src/components/ui/dashboard/withdraw-stages/TremendousDetailsStage.vue +++ b/apps/frontend/src/components/ui/dashboard/withdraw-stages/TremendousDetailsStage.vue @@ -90,66 +90,41 @@ - {{ - formatMoney( - selectedMethodCurrencyCode && - selectedMethodCurrencyCode !== 'USD' && - selectedMethodExchangeRate - ? (fixedDenominationMin ?? effectiveMinAmount) / selectedMethodExchangeRate - : (fixedDenominationMin ?? effectiveMinAmount), - ) - }} - max withdrawal amount. + withdrawal amount. You need at least - {{ - formatMoney( - selectedMethodCurrencyCode && - selectedMethodCurrencyCode !== 'USD' && - selectedMethodExchangeRate - ? effectiveMinAmount / selectedMethodExchangeRate - : effectiveMinAmount, - ) - }}