Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewBemis committed Nov 6, 2024
1 parent 697a91f commit b1fb502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-core/src/components/forms/PagedSurveyView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function PagedSurveyView({

/** Submit the response to the server */
const onComplete = async () => {
cancelAutosave()
if (cancelAutosave) { cancelAutosave() }
if (!surveyModel || !refreshSurvey) {
return
}
Expand Down

0 comments on commit b1fb502

Please sign in to comment.