"src/git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "ecc841c57df83e74450eb07d3423705c92bdeaa5"
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 @@ ...@@ -57,7 +57,11 @@
bind:this={formElement} bind:this={formElement}
class=" flex flex-col max-h-[100dvh] h-full" class=" flex flex-col max-h-[100dvh] h-full"
on:submit|preventDefault={() => { on:submit|preventDefault={() => {
showConfirm = true; if (edit) {
submitHandler();
} else {
showConfirm = true;
}
}} }}
> >
<div class="mb-2.5"> <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