mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac/fix: node dom issue
This commit is contained in:
parent
a56e9e586b
commit
c42a6d8029
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import DOMPurify from 'dompurify';
|
||||
|
||||
import { onMount, getContext, createEventDispatcher, onDestroy } from 'svelte';
|
||||
import { onMount, getContext, createEventDispatcher, onDestroy, tick } from 'svelte';
|
||||
import * as FocusTrap from 'focus-trap';
|
||||
|
||||
const i18n = getContext('i18n');
|
||||
|
|
@ -52,6 +52,7 @@
|
|||
|
||||
const confirmHandler = async () => {
|
||||
show = false;
|
||||
await tick();
|
||||
await onConfirm();
|
||||
dispatch('confirm', inputValue);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue