diff --git a/src/lib/components/FormFlow/Section.svelte b/src/lib/components/FormFlow/Section.svelte index ff6290e..14fdf5b 100644 --- a/src/lib/components/FormFlow/Section.svelte +++ b/src/lib/components/FormFlow/Section.svelte @@ -1,15 +1,21 @@
{section.header} {#each section.inputs as input (input)}
- + {#if !(input.component.id == "serious foul reason") || ($activeResponses[id].data["serious foul"] != "None")} + + {/if}
{/each}
diff --git a/src/lib/components/FormFlow/index.svelte b/src/lib/components/FormFlow/index.svelte index d1c9879..6a8e453 100644 --- a/src/lib/components/FormFlow/index.svelte +++ b/src/lib/components/FormFlow/index.svelte @@ -59,14 +59,6 @@
{/each} -