fix: actually hide submit button on submit

This commit is contained in:
afn 2023-03-19 15:03:57 -04:00
parent 3eb8e818ea
commit 943ced0513

View File

@ -280,7 +280,8 @@
submitModal = false;
}}>{submitted || erred ? 'Close' : 'Cancel'}</Button
>
{#if !erred || !submitted}
{#if !erred}
{#if !submitted}
<Button
kind="text"
on:click={() => {
@ -288,6 +289,7 @@
}}>Submit</Button
>
{/if}
{/if}
</div>
</Modal>
</div>