From 6a67d570c80075946919d2058a8ee201f1d1e6ac Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Tue, 24 Sep 2024 12:12:28 +0200 Subject: [PATCH] update --- src/routes/watchlist/options/+page.svelte | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/routes/watchlist/options/+page.svelte b/src/routes/watchlist/options/+page.svelte index b11d6b37..6f61346b 100644 --- a/src/routes/watchlist/options/+page.svelte +++ b/src/routes/watchlist/options/+page.svelte @@ -210,7 +210,7 @@ onMount(async () => { Time - Symbol + Symbol Date Expiry DTE @@ -227,7 +227,7 @@ onMount(async () => { - {#each optionsWatchlist as item} + {#each optionsWatchlist as item, index} @@ -235,16 +235,18 @@ onMount(async () => { {formatTime(item?.time)} - handleFilter(item?.id)} class="flex flex-row items-center text-sm sm:text-[1rem] text-start"> - + handleFilter(item?.id)} class="{index % 2 ? 'bg-[#09090B]' : 'bg-[#27272A]'} font-normal text-sm sm:text-[1rem] text-start"> +
+ {#if !editMode} - + {item?.ticker} {:else} {item?.ticker} {/if} - +
+ {formatDate(item?.date)}