feat: dependencies
All checks were successful
Release / publish (push) Successful in 1m31s

This commit is contained in:
2025-10-21 11:51:56 +02:00
parent 6884eee8c0
commit 4c7ba04cbb
3 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
<script lang="ts">
import { page } from '$app/stores';
import { getArtefact } from '$lib/artefact.remote';
import Artefact from '$lib/components/Artefact.svelte';
let artefact: Artefact | undefined = $state(undefined);
$effect(() => {
getArtefact($page.params.artefact_uuid ?? '').then((a) => (artefact = a));
});
</script>
{#if artefact}
<Artefact {artefact} />
{/if}