mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-07 08:27:05 +00:00
refac
This commit is contained in:
parent
b94e1c9458
commit
0820abbc64
1 changed files with 2 additions and 0 deletions
|
|
@ -105,6 +105,7 @@
|
|||
import Tooltip from '../common/Tooltip.svelte';
|
||||
import Sidebar from '../icons/Sidebar.svelte';
|
||||
import Image from '../common/Image.svelte';
|
||||
import { getBanners } from '$lib/apis/configs';
|
||||
|
||||
export let chatIdProp = '';
|
||||
|
||||
|
|
@ -648,6 +649,7 @@
|
|||
if (p.url.pathname === '/') {
|
||||
await tick();
|
||||
initNewChat();
|
||||
banners.set(await getBanners(localStorage.token).catch(() => []));
|
||||
}
|
||||
|
||||
stopAudio();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue