mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
057533f9cc
commit
9e2d8470d4
1 changed files with 3 additions and 1 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
import { createMessagesList } from '$lib/utils';
|
import { createMessagesList } from '$lib/utils';
|
||||||
import { user } from '$lib/stores';
|
import { user } from '$lib/stores';
|
||||||
import Messages from '../chat/Messages.svelte';
|
import Messages from '../chat/Messages.svelte';
|
||||||
|
import { goto } from '$app/navigation';
|
||||||
dayjs.extend(calendar);
|
dayjs.extend(calendar);
|
||||||
|
|
||||||
export let show = false;
|
export let show = false;
|
||||||
|
|
@ -303,7 +304,8 @@
|
||||||
on:mouseenter={() => {
|
on:mouseenter={() => {
|
||||||
selectedIdx = idx;
|
selectedIdx = idx;
|
||||||
}}
|
}}
|
||||||
on:click={() => {
|
on:click={async () => {
|
||||||
|
await goto(`/c/${chat.id}`);
|
||||||
show = false;
|
show = false;
|
||||||
onClose();
|
onClose();
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue