mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
feat: chat overview
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
import { flyAndScale } from '$lib/utils/transitions';
|
||||
import { fade, fly, slide } from 'svelte/transition';
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
export let show = false;
|
||||
export let size = 'md';
|
||||
|
||||
@@ -47,6 +49,10 @@
|
||||
document.body.style.overflow = 'unset';
|
||||
}
|
||||
|
||||
$: if (!show) {
|
||||
dispatch('close');
|
||||
}
|
||||
|
||||
onDestroy(() => {
|
||||
show = false;
|
||||
if (modalElement) {
|
||||
|
||||
Reference in New Issue
Block a user