Skip to content

Commit e852d21

Browse files
committed
oh yeah
1 parent 2524aee commit e852d21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/(info)/lttstore/totals/TotalMoveRateGraph.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
if(h.store+"" !== s+"") return null;
5656
if(i > 0) {
5757
const indexInStore = perStoreTotals[s].findIndex(h2 => h2.timestamp === h.timestamp);
58-
if(indexInStore === -1) return null;
58+
if(indexInStore <= 0) return null;
5959
const previous = perStoreTotals[s][indexInStore-1];
6060
const previousStock = previous.total;
6161
const currentStock = h.total;

0 commit comments

Comments
 (0)