Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persist state data #55

Merged
merged 4 commits into from
Sep 2, 2024
Merged

Persist state data #55

merged 4 commits into from
Sep 2, 2024

Conversation

Grafikart
Copy link
Collaborator

Répare le state qui été réinitialisé à "INIT" par défaut.

Solution

Dans la base de données local on sauvegarde le stateData en plus des données de bases afin de conserver l'état d'un questionnaire.

@Grafikart Grafikart changed the base branch from main to develop August 30, 2024 09:33
Comment on lines 885 to 889
if (data.stateData?.state !== "COMPLETED" && idSurvey === "DEMO1302") {
// eslint-disable-next-line no-debugger
debugger;
return Promise.resolve(data);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this ?

@MailineN MailineN merged commit add6a47 into develop Sep 2, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants