minor UI fix
This commit is contained in:
parent
7f2f7d909c
commit
5168fc3517
@ -73,7 +73,9 @@ function depositMoneyToWallet() {
|
|||||||
console.error(error)
|
console.error(error)
|
||||||
getRef('topup_failed_reason').textContent = error;
|
getRef('topup_failed_reason').textContent = error;
|
||||||
showChildElement('topup_wallet_process', 3);
|
showChildElement('topup_wallet_process', 3);
|
||||||
})
|
}).finally(() => {
|
||||||
|
buttonLoader('topup_wallet_button', false);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function withdrawMoneyFromWallet() {
|
function withdrawMoneyFromWallet() {
|
||||||
@ -632,7 +634,7 @@ const render = {
|
|||||||
let propToCheck = filter === 'sent' ? 'sender' : 'receiver';
|
let propToCheck = filter === 'sent' ? 'sender' : 'receiver';
|
||||||
paymentTransactions = paymentTransactions.filter(v => v[propToCheck] === myFloID)
|
paymentTransactions = paymentTransactions.filter(v => v[propToCheck] === myFloID)
|
||||||
}
|
}
|
||||||
// solve issue at backend
|
// solve sorting issue at backend
|
||||||
paymentTransactions.sort((a, b) => b.time - a.time);
|
paymentTransactions.sort((a, b) => b.time - a.time);
|
||||||
if (paymentsHistoryLoader) {
|
if (paymentsHistoryLoader) {
|
||||||
paymentsHistoryLoader.update(paymentTransactions);
|
paymentsHistoryLoader.update(paymentTransactions);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user