Skip to content

High performance self-hosted photo and video management solution.

fix(web): use full tag path when creating nested subtags (#24249)

Niklas von Moers08f320c8015d
diff --git a/web/src/lib/modals/TagCreateModal.svelte b/web/src/lib/modals/TagCreateModal.svelte
index 360681d7b9..5c48e83b08 100644
--- a/web/src/lib/modals/TagCreateModal.svelte
+++ b/web/src/lib/modals/TagCreateModal.svelte
@@ -14,7 +14,7 @@
const { onClose, baseTag }: Props = $props();
- let tagValue = $state(baseTag?.value ? `${baseTag.value}/` : '');
+ let tagValue = $state(baseTag?.path ? `${baseTag.path}/` : '');
const createTag = async () => {
const [tag] = await upsertTags({ tagUpsertDto: { tags: [tagValue] } });