From 2d19858b035bf988b1dce4745eeb9fa7734cf4a9 Mon Sep 17 00:00:00 2001 From: Myles Date: Sat, 8 Jun 2024 11:01:34 -0400 Subject: [PATCH] logging thumb feedback fixed --- app/components/Feedback/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/Feedback/index.tsx b/app/components/Feedback/index.tsx index daca3a06..018a1a0a 100644 --- a/app/components/Feedback/index.tsx +++ b/app/components/Feedback/index.tsx @@ -63,6 +63,7 @@ const Feedback = ({ hint={upHint} setVoted={setVoted} onClick={() => { + if (pageid === 'chatbot') onSubmit('Helpful', undefined) setShowThanks(true) }} /> @@ -74,6 +75,7 @@ const Feedback = ({ disabled={voted} setVoted={setVoted} onClick={() => { + if (pageid === 'chatbot') onSubmit('Unhelpful', undefined) if (!showForm) setShowThanks(true) setShowFeedbackForm(!!showForm) }}