From df6ffee7cf3251a2d46049255d0d9413109186a3 Mon Sep 17 00:00:00 2001 From: setop Date: Sat, 13 Jul 2024 08:53:24 +0200 Subject: [PATCH] fix(front): preserve tags when modifiying post or event closes #1307 closes #1289 --- src/components/Event/TagInput.vue | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/components/Event/TagInput.vue b/src/components/Event/TagInput.vue index b8702c410..ce10909b7 100644 --- a/src/components/Event/TagInput.vue +++ b/src/components/Event/TagInput.vue @@ -15,8 +15,7 @@ { ); }); -// TODO It seems that '@update:modelValue="updateTags"' does not works anymore... -// so temporarily call the function updateTags() at remove and add tag event -// https://github.com/oruga-ui/oruga/issues/967 -function remove() { - updateTags(tagsStrings.value); -} - -function add() { - updateTags(tagsStrings.value); -} - const updateTags = (newTagsStrings: string[]) => { const tagEntities = newTagsStrings.map((tag: string | ITag) => { if (typeof tag !== "string") {