This commit is contained in:
Timothy Jaeryang Baek 2025-09-07 04:25:52 +04:00
parent 1cdb7aed1e
commit f2525ebc44

View file

@ -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}