diff --git a/src/routes/stocks/[tickerID]/forecast/+page.svelte b/src/routes/stocks/[tickerID]/forecast/+page.svelte index 62bb4da8..d32cf967 100644 --- a/src/routes/stocks/[tickerID]/forecast/+page.svelte +++ b/src/routes/stocks/[tickerID]/forecast/+page.svelte @@ -21,6 +21,7 @@ if(data?.getAnalystEstimate?.length !== 0) { changeEBITDA = ((data?.getAnalystEstimate[index-1]?.estimatedEbitdaAvg/data?.getAnalystEstimate[index-2]?.ebitda-1)*100) changeEPS = ((data?.getAnalystEstimate[index-1]?.estimatedEpsAvg/data?.getAnalystEstimate[index-2]?.eps-1)*100) } + @@ -53,7 +54,7 @@ if(data?.getAnalystEstimate?.length !== 0) {

Financial Forecast this Year

- {#if data?.getAnalstEstimate?.length !== 0} + {#if data?.getAnalystEstimate?.length !== 0}
+ {:else} +
+ + No analyst forecast available for {$displayCompanyName}. +
{/if}