From b5d7e57d3c42806036202ed015e87d2e4379b4d0 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 23 Oct 2024 20:19:42 -0700 Subject: [PATCH] refac --- src/lib/components/chat/Messages/RateComment.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/components/chat/Messages/RateComment.svelte b/src/lib/components/chat/Messages/RateComment.svelte index 8dfc9afcc..b192c7845 100644 --- a/src/lib/components/chat/Messages/RateComment.svelte +++ b/src/lib/components/chat/Messages/RateComment.svelte @@ -73,7 +73,6 @@ const saveHandler = () => { console.log('saveHandler'); - // if (!selectedReason) { // toast.error($i18n.t('Please select a reason')); // return; @@ -82,7 +81,7 @@ dispatch('save', { reason: selectedReason, comment: comment, - tags: tags + tags: tags.map((tag) => tag.name) }); toast.success($i18n.t('Thanks for your feedback!'));