From 54e38236eb2f67297e4db0bdf30c4e03499c7949 Mon Sep 17 00:00:00 2001 From: Kostya Date: Wed, 6 Dec 2023 11:53:08 +0300 Subject: [PATCH] fixed bug with added history from arrayhistory in profilepage --- luckydiamond/src/pages/ProfilePage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luckydiamond/src/pages/ProfilePage.vue b/luckydiamond/src/pages/ProfilePage.vue index 6e15912..2f99436 100644 --- a/luckydiamond/src/pages/ProfilePage.vue +++ b/luckydiamond/src/pages/ProfilePage.vue @@ -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) } } }