fix(web): use full tag path when creating nested subtags (#24249)
parent
e36261b552
commit
08f320c801
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
const { onClose, baseTag }: Props = $props();
|
const { onClose, baseTag }: Props = $props();
|
||||||
|
|
||||||
let tagValue = $state(baseTag?.value ? `${baseTag.value}/` : '');
|
let tagValue = $state(baseTag?.path ? `${baseTag.path}/` : '');
|
||||||
|
|
||||||
const createTag = async () => {
|
const createTag = async () => {
|
||||||
const [tag] = await upsertTags({ tagUpsertDto: { tags: [tagValue] } });
|
const [tag] = await upsertTags({ tagUpsertDto: { tags: [tagValue] } });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue