Compare commits

...

2 Commits

Author SHA1 Message Date
u80864958
b22f45f825 fix: visuals
All checks were successful
Release / publish (push) Successful in 1m30s
2025-10-21 15:22:06 +02:00
u80864958
14df3db8d1 fix: pdf 2025-10-21 15:20:48 +02:00
2 changed files with 6 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
<p class="col-span-4">{tag}</p>
<Button
color="red"
class="max-h-12"
onclick={() => {
tags = tags.filter((t) => t != tag);
}}><TrashBinOutline class="size-10" /></Button
@@ -22,6 +23,7 @@
{/each}
<Input class="col-span-4" bind:value={newTag}></Input>
<Button
class="max-h-12"
onclick={() => {
tags.push(newTag);
newTag = '';

View File

@@ -2,10 +2,12 @@
import { page } from '$app/stores';
import { getArtefact } from '$lib/artefact.remote';
import Artefact from '$lib/components/Artefact.svelte';
let artefact: Artefact | undefined = $state(undefined);
let uuid = $derived($page.params.artefact_uuid);
let artefact: undefined | Artefact = $state(undefined);
$effect(() => {
getArtefact($page.params.artefact_uuid ?? '').then((a) => (artefact = a));
getArtefact(uuid ?? '').then((a) => (artefact = a));
});
</script>