Skip to content

Commit a01fb26

Browse files
Fix 1day inv filter (#302)
2 parents 1b48a00 + 8e6d036 commit a01fb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/templates/home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ <h2>Sign a Message</h2>
766766
offChain.d7.amt += p.value
767767
}
768768
for(inv of (await inv_rev_task).results){
769-
if(adjustTZ(p.creation_date) >= _1day_ago){
769+
if(adjustTZ(inv.creation_date) >= _1day_ago){
770770
offChain.d1.inv_rev += inv.amt_paid
771771
}
772772
offChain.d7.inv_rev += inv.amt_paid

0 commit comments

Comments
 (0)