diff --git a/frontend/src/lib/routes/Dataset.svelte b/frontend/src/lib/routes/Dataset.svelte index fca93d0..9e67641 100644 --- a/frontend/src/lib/routes/Dataset.svelte +++ b/frontend/src/lib/routes/Dataset.svelte @@ -11,9 +11,9 @@ export let params: { dumpUrl: string; portal: string; id: string }; $: url = decodeURIComponent(params.dumpUrl) + "/" + params.portal; - $: data = Promise.all([fetchData(url), fetchErrors(url)]).then( - ([data, errors]) => ({ data, errors }), - ); + $: data = Promise.all([fetchData(url), fetchErrors(url)]) + .then(([data, errors]) => ({ data, errors })) + .catch(alert);
@@ -28,9 +28,9 @@ {:else}
-

{dataset.title}

+

{dataset.title}

{dataset.description}