minor UI fix

This commit is contained in:
sairaj mote 2022-05-31 18:32:37 +05:30
parent 7f2f7d909c
commit 5168fc3517

View File

@ -73,7 +73,9 @@ function depositMoneyToWallet() {
console.error(error)
getRef('topup_failed_reason').textContent = error;
showChildElement('topup_wallet_process', 3);
})
}).finally(() => {
buttonLoader('topup_wallet_button', false);
});
}
function withdrawMoneyFromWallet() {
@ -632,7 +634,7 @@ const render = {
let propToCheck = filter === 'sent' ? 'sender' : 'receiver';
paymentTransactions = paymentTransactions.filter(v => v[propToCheck] === myFloID)
}
// solve issue at backend
// solve sorting issue at backend
paymentTransactions.sort((a, b) => b.time - a.time);
if (paymentsHistoryLoader) {
paymentsHistoryLoader.update(paymentTransactions);