mirror of
https://github.com/open-webui/open-webui
synced 2025-01-31 15:01:00 +00:00
fix
This commit is contained in:
parent
28e3e6e8cb
commit
17169dff1f
@ -1,8 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { onMount, tick } from 'svelte';
|
||||||
import { createEventDispatcher } from 'svelte';
|
import { createEventDispatcher } from 'svelte';
|
||||||
|
|
||||||
import { updateChatById } from '$lib/apis/chats';
|
import { updateChatById } from '$lib/apis/chats';
|
||||||
import { onMount, tick } from 'svelte';
|
|
||||||
import ResponseMessage from './ResponseMessage.svelte';
|
import ResponseMessage from './ResponseMessage.svelte';
|
||||||
|
|
||||||
export let chatId;
|
export let chatId;
|
||||||
@ -107,7 +108,7 @@
|
|||||||
<div
|
<div
|
||||||
class=" snap-center min-w-80 w-full max-w-full m-1 border {history.messages[
|
class=" snap-center min-w-80 w-full max-w-full m-1 border {history.messages[
|
||||||
currentMessageId
|
currentMessageId
|
||||||
].modelIdx === modelIdx
|
]?.modelIdx == modelIdx
|
||||||
? 'border-gray-100 dark:border-gray-800 border-[1.5px]'
|
? 'border-gray-100 dark:border-gray-800 border-[1.5px]'
|
||||||
: 'border-gray-50 dark:border-gray-850 '} transition p-5 rounded-3xl"
|
: 'border-gray-50 dark:border-gray-850 '} transition p-5 rounded-3xl"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user