Skip to content

Commit

Permalink
Merge branch 'master' into sqlite-overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Moschkin committed Dec 6, 2023
2 parents e9a48b8 + 2b2f0c3 commit 77b3b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/logic/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async function getVoyageStats() {
let results = records.filter(r => r.voyageDate.getTime() >= dset.date.getTime());

// fix bug from initial migration
results = results.filter((r, i) => results.findIndex(f => f.voyageDate === r.voyageDate) === i);
results = results.filter((r, idx) => results.findIndex(f => f.voyageDate.getTime() === r.voyageDate.getTime()) === idx);

const cp = {} as { [key: string]: CrewPeople };

Expand Down

0 comments on commit 77b3b5a

Please sign in to comment.