Fix an issue where choosing a set of answers that involved popup_closed_how caused the form to break (the email view didn't show up)

This commit is contained in:
Kuba Orlik 2025-12-13 18:11:18 +01:00
parent cf94d45ee1
commit e9ff6cfe3c

View File

@ -53,6 +53,7 @@ export function parseAnswers({
rejection_is_hard, rejection_is_hard,
administrator_identity_available_before_choice, administrator_identity_available_before_choice,
popup_action, popup_action,
popup_closed_how,
...rest ...rest
}: RawAnswers): ParsedAnswers { }: RawAnswers): ParsedAnswers {
return { return {
@ -68,6 +69,7 @@ export function parseAnswers({
rejection_is_hard, rejection_is_hard,
administrator_identity_available_before_choice, administrator_identity_available_before_choice,
popup_action, popup_action,
popup_closed_how,
hosts: parseHostAnswers(rest), hosts: parseHostAnswers(rest),
} as ParsedAnswers; } as ParsedAnswers;
} }