Skip to content

Commit

Permalink
Survey: update marker for optional fields in feedback part
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Dec 23, 2024
1 parent 42fbbb7 commit 6b2f00b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const FeedbackFirstPage = ({
{/* This map to select a line is custom for BB survey and is going to be deleted afterwards */}
{surveySlug === "radnetz-brandenburg" && (
<>
<SurveyH2>{questions[0].label.de} *</SurveyH2>
<SurveyH2>{questions[0].label.de}</SurveyH2>
<MapProvider>
<SurveyMapLine
projectMap={{
Expand Down
4 changes: 2 additions & 2 deletions src/survey-public/components/feedback/FeedbackSecondPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const FeedbackSecondPage = ({
<>
<SurveyH2>
{/* @ts-expect-error */}
{questions.find((q) => q.id === userLocationQuestionId)?.label.de} *
{questions.find((q) => q.id === userLocationQuestionId)?.label.de}
</SurveyH2>
<MapProvider>
<SurveyMap
Expand All @@ -97,7 +97,7 @@ export const FeedbackSecondPage = ({
const userTextQuestionProps = q.props as TTextareaProps
return (
<Fragment key={q.id}>
<SurveyH2>{q.label.de} *</SurveyH2>
<SurveyH2>{q.label.de}</SurveyH2>
{q.help && <div className="-mt-4 mb-6 text-sm text-gray-400">{q.help.de}</div>}
<SurveyLabeledTextareaField
caption={userTextQuestionProps.caption?.de}
Expand Down

0 comments on commit 6b2f00b

Please sign in to comment.