mirror of
https://github.com/open-webui/open-webui
synced 2025-02-06 13:10:16 +00:00
refac: bypass confirm dialog for edit
This commit is contained in:
parent
dd2941bb43
commit
326ac41422
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user