mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refac
This commit is contained in:
@@ -645,7 +645,7 @@
|
||||
<div>
|
||||
<StatusHistory
|
||||
statusHistory={message?.statusHistory}
|
||||
showHistory={message?.content === ''}
|
||||
expand={message?.content === ''}
|
||||
/>
|
||||
|
||||
{#if message?.files && message.files?.filter((f) => f.type === 'image').length > 0}
|
||||
|
||||
@@ -4,7 +4,15 @@
|
||||
|
||||
import StatusItem from './StatusHistory/StatusItem.svelte';
|
||||
export let statusHistory = [];
|
||||
export let showHistory = true;
|
||||
export let expand = false;
|
||||
|
||||
let showHistory = true;
|
||||
|
||||
$: if (expand) {
|
||||
showHistory = true;
|
||||
} else {
|
||||
showHistory = false;
|
||||
}
|
||||
|
||||
let history = [];
|
||||
let status = null;
|
||||
|
||||
Reference in New Issue
Block a user