Commit 326ac414 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: bypass confirm dialog for edit

parent dd2941bb
......@@ -57,7 +57,11 @@
bind:this={formElement}
class=" flex flex-col max-h-[100dvh] h-full"
on:submit|preventDefault={() => {
showConfirm = true;
if (edit) {
submitHandler();
} else {
showConfirm = true;
}
}}
>
<div class="mb-2.5">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment