Skip to content

Commit

Permalink
update dismiss to dismissed
Browse files Browse the repository at this point in the history
  • Loading branch information
liyiy committed Oct 26, 2023
1 parent 428542a commit aba9e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/taxonomy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit aba9e7c

Please sign in to comment.