From 60fd284912252ff1f35f0d2ba51a9bca7b1b494b Mon Sep 17 00:00:00 2001 From: ctwhome Date: Tue, 19 Mar 2024 15:49:41 +0100 Subject: [PATCH] Fix dataset filtering condition in +page.svelte --- src/routes/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 395b9a0..36e2798 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -36,7 +36,7 @@ url: 'https://s3.ctwhome.com/ruisdael/data/movie.zarr' } ].filter((dataset) => { - if (import.meta.env) { + if (import.meta.env.DEV) { return dataset; } else { return !dataset.dev;