Skip to content

Commit

Permalink
Update src/lib/store/dataset.ts
Browse files Browse the repository at this point in the history
Co-authored-by: James <[email protected]>
  • Loading branch information
srpiatt and JamesPeck authored Feb 28, 2024
1 parent 8d617ae commit 3fd69f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/store/dataset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function toggleArchived(uuid: string) {

async function getDataset(uuid: string) {
const store: DataSet[] = get(datasets);
const datasetIndex: number = store.findIndex((ds) => ds.uuid == uuid);
const datasetIndex: number = store.findIndex((ds) => ds.uuid === uuid);
if (datasetIndex > -1) {
return store[datasetIndex];
}
Expand Down

0 comments on commit 3fd69f5

Please sign in to comment.