diff --git a/frontend/src/lib/components/tags/SelectTags.svelte b/frontend/src/lib/components/tags/SelectTags.svelte index 44da128..395dd24 100644 --- a/frontend/src/lib/components/tags/SelectTags.svelte +++ b/frontend/src/lib/components/tags/SelectTags.svelte @@ -4,6 +4,7 @@ import { cards } from '$lib/types/Card'; import CardTag from '$lib/types/CardTag'; import type ProjectTag from '$lib/types/ProjectTag'; + import { projectTags } from '$lib/types/ProjectTag'; import type TagOption from '$lib/types/TagOption'; import TrashIcon from '../icons/TrashIcon.svelte'; @@ -37,6 +38,7 @@ if (!newOption) return; if (!(await projectTag.addOption(newOption))) return; newOption = ''; + projectTags.reload(); } @@ -66,7 +68,7 @@ isOpen = false; }} > - {#each projectTag.options as option} + {#each projectTag.options as option (option.id)}