fixed bug with added history from arrayhistory in profilepage

This commit is contained in:
Kostya
2023-12-06 11:53:08 +03:00
parent cebf9a4eae
commit 54e38236eb

View File

@@ -94,7 +94,7 @@ export default {
amount: amount amount: amount
} }
this.arrayHistory.push(historyPayments) this.arrayHistory.unshift(historyPayments)
}, },
claimDataWithdraw(amount) { claimDataWithdraw(amount) {
const historyPayments = { const historyPayments = {
@@ -104,7 +104,7 @@ export default {
amount: -amount amount: -amount
} }
this.arrayHistory.push(historyPayments) this.arrayHistory.unshift(historyPayments)
} }
} }
} }