mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-26 15:20:59 -05:00
refac
This commit is contained in:
1 parent
950da84bdb
commit
5b58b1ebc0
9 files changed
+1042
-282
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { getContext, onMount } from 'svelte';
|
||||
import { config, showCallOverlay, showTabs } from '$lib/stores';
|
||||
import { createEventDispatcher, getContext, onMount } from 'svelte';
|
||||
import { config, showCallOverlay } from '$lib/stores';
|
||||
import type { RealtimeCall } from '$lib/utils/realtime';
|
||||
import CallOverlay from './CallOverlay.svelte';
|
||||
import BridgeCallOverlay from './CallOverlay/BridgeCallOverlay.svelte';
|
||||
@@ -16,10 +16,11 @@
|
||||
export let chatId: string;
|
||||
export let eventTarget: EventTarget;
|
||||
let started = false;
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
const close = () => {
|
||||
showCallOverlay.set(false);
|
||||
showTabs.set(false);
|
||||
dispatch('close');
|
||||
};
|
||||
|
||||
onMount(() => {
|
||||
|
||||
Reference in new issue
Block a user