2
0

feat(settings): Add create result on page refresh option

This commit is contained in:
Baptiste Arnaud
2022-03-07 18:21:01 +01:00
parent e3e07ddd4d
commit 260819f124
5 changed files with 91 additions and 2 deletions

View File

@ -44,7 +44,8 @@ export const TypebotPage = ({
if (error) setError(error)
if (result) {
setResultId(result.id)
setResultInSession(result.id)
if (typebot.settings.general.isNewResultOnRefreshEnabled !== true)
setResultInSession(result.id)
}
}
}