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