mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
refac
This commit is contained in:
parent
1cdb7aed1e
commit
f2525ebc44
1 changed files with 29 additions and 28 deletions
|
|
@ -19,7 +19,10 @@
|
||||||
|
|
||||||
</Collapsible> -->
|
</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">
|
<div class="text-sm flex flex-col w-full">
|
||||||
{#if showHistory}
|
{#if showHistory}
|
||||||
<div class="flex flex-row">
|
<div class="flex flex-row">
|
||||||
|
|
@ -46,8 +49,6 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if statusHistory.length > 0}
|
|
||||||
{@const status = statusHistory.at(-1)}
|
|
||||||
<button
|
<button
|
||||||
class="w-full -translate-x-[3.5px]"
|
class="w-full -translate-x-[3.5px]"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
|
@ -69,6 +70,6 @@
|
||||||
<StatusItem {status} />
|
<StatusItem {status} />
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue