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

View File

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