mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 08:40:58 +00:00
fix
This commit is contained in:
parent
67f95ddfdc
commit
65b7c9898b
@ -2,7 +2,7 @@
|
||||
import { SvelteFlowProvider } from '@xyflow/svelte';
|
||||
import { slide } from 'svelte/transition';
|
||||
|
||||
import { onMount } from 'svelte';
|
||||
import { onDestroy, onMount } from 'svelte';
|
||||
import { mobile, showControls, showCallOverlay, showOverview } from '$lib/stores';
|
||||
|
||||
import Modal from '../common/Modal.svelte';
|
||||
@ -45,6 +45,10 @@
|
||||
mediaQuery.removeEventListener('change', handleMediaQuery);
|
||||
};
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
showControls.set(false);
|
||||
});
|
||||
</script>
|
||||
|
||||
<SvelteFlowProvider>
|
||||
|
Loading…
Reference in New Issue
Block a user