mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac
This commit is contained in:
parent
3d37e4a42d
commit
cd5e2be27b
2 changed files with 10 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue