Skip to content
Snippets Groups Projects
Commit e13a0071 authored by marcantoinem's avatar marcantoinem
Browse files

fix!: autoregeneration was broken by changement to autogen

parent d8a01737
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ pub fn OptionsForms() -> impl IntoView { ...@@ -15,7 +15,7 @@ pub fn OptionsForms() -> impl IntoView {
let first_generation_done: FirstGenerationDone = use_context().unwrap(); let first_generation_done: FirstGenerationDone = use_context().unwrap();
let submit = move || { let submit = move || {
state.validate(); state.validate();
if !first_generation_done.0.get() || state.step.get() != 5 { if !first_generation_done.0.get() || state.step.get() < 5 {
return; return;
} }
state.generate(); state.generate();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment