fix the problem that the transaction date not display sometimes in transaction list page

This commit is contained in:
MaysWind
2023-08-01 21:47:26 +08:00
parent 2188e8dd78
commit 5b5f1280af
3 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -252,7 +252,7 @@
:class="{ 'disabled': loading, 'has-bottom-border': idx < transactions.length - 1 }"
v-for="(transaction, idx) in transactions">
<tr class="transaction-list-row-date no-hover text-sm"
v-if="idx === 0 || (idx > 0 && (transaction.day !== transactions[idx - 1].day))">
v-if="idx === 0 || (idx > 0 && (transaction.date !== transactions[idx - 1].date))">
<td colspan="5" class="font-weight-bold">
<div class="d-flex align-center">
<span>{{ getLongDate(transaction) }}</span>