mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -19,7 +19,10 @@
|
||||
|
||||
</Collapsible> -->
|
||||
|
||||
{#if statusHistory}
|
||||
{#if statusHistory && statusHistory.length > 0}
|
||||
{@const status = statusHistory.at(-1)}
|
||||
|
||||
{#if status?.hidden !== true}
|
||||
<div class="text-sm flex flex-col w-full">
|
||||
{#if showHistory}
|
||||
<div class="flex flex-row">
|
||||
@@ -46,8 +49,6 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if statusHistory.length > 0}
|
||||
{@const status = statusHistory.at(-1)}
|
||||
<button
|
||||
class="w-full -translate-x-[3.5px]"
|
||||
on:click={() => {
|
||||
@@ -69,6 +70,6 @@
|
||||
<StatusItem {status} />
|
||||
</div>
|
||||
</button>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user