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
}
this.arrayHistory.push(historyPayments)
this.arrayHistory.unshift(historyPayments)
},
claimDataWithdraw(amount) {
const historyPayments = {
@@ -104,7 +104,7 @@ export default {
amount: -amount
}
this.arrayHistory.push(historyPayments)
this.arrayHistory.unshift(historyPayments)
}
}
}