We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2524aee commit e852d21Copy full SHA for e852d21
1 file changed
src/routes/(info)/lttstore/totals/TotalMoveRateGraph.svelte
@@ -55,7 +55,7 @@
55
if(h.store+"" !== s+"") return null;
56
if(i > 0) {
57
const indexInStore = perStoreTotals[s].findIndex(h2 => h2.timestamp === h.timestamp);
58
- if(indexInStore === -1) return null;
+ if(indexInStore <= 0) return null;
59
const previous = perStoreTotals[s][indexInStore-1];
60
const previousStock = previous.total;
61
const currentStock = h.total;
0 commit comments