From 0ec9341ac8d28b00b4a66747cab5511dc733db4d Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 5 Dec 2024 22:34:18 +0100 Subject: [PATCH] ui fixes --- src/routes/price-alert/+page.svelte | 78 ++++++++++++++--------------- 1 file changed, 37 insertions(+), 41 deletions(-) diff --git a/src/routes/price-alert/+page.svelte b/src/routes/price-alert/+page.svelte index 40567bc7..ce9d1149 100644 --- a/src/routes/price-alert/+page.svelte +++ b/src/routes/price-alert/+page.svelte @@ -30,7 +30,7 @@ let displayList = []; let editMode = false; let numberOfChecked = 0; - let priceAlertList = data?.getPriceAlert?.data; + let priceAlertList = data?.getPriceAlert?.data || []; let deletePriceAlertList = []; let news = data?.getPriceAlert?.news || []; @@ -748,52 +748,48 @@ {/if} {/if} + {/if} + {#if priceAlertList?.length === 0} +
+ + No Alerts set + - {#if priceAlertList?.length === 0} -
- - No Alerts set - + Create price alerts for your stocks that have the most potential + in your opinion. + - - Create price alerts for your stocks that have the most - potential in your opinion. - - {#if !data?.user} - - Get Started - - - - - {/if} -
- {/if} + + + {/if} +
{/if}