From aba9e7ccd54ba013e38e826a22c4f8079228a60a Mon Sep 17 00:00:00 2001 From: Li Yi Yu Date: Thu, 26 Oct 2023 12:30:06 -0400 Subject: [PATCH] update dismiss to dismissed --- frontend/src/lib/taxonomy.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/taxonomy.tsx b/frontend/src/lib/taxonomy.tsx index 7a373e00af326..565787c50e069 100644 --- a/frontend/src/lib/taxonomy.tsx +++ b/frontend/src/lib/taxonomy.tsx @@ -805,8 +805,8 @@ export function getKeyMapping( description: `Whether the user responded to survey with ID: "${surveyId}".`, } } - } else if (value.startsWith('$survey_dismiss/')) { - const surveyId = value.replace(/^\$survey_dismiss\//, '') + } else if (value.startsWith('$survey_dismissed/')) { + const surveyId = value.replace(/^\$survey_dismissed\//, '') if (surveyId) { return { label: `Survey Dismissed: ${surveyId}`,