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