diff --git a/src/lib/components/ETFProfileCard.svelte b/src/lib/components/ETFProfileCard.svelte index 43ffeadd..ebdd727c 100644 --- a/src/lib/components/ETFProfileCard.svelte +++ b/src/lib/components/ETFProfileCard.svelte @@ -92,11 +92,11 @@ let showFullText = false;
| Bid | -{$wsBidPrice !== (0 || null) ? $wsBidPrice : data?.getStockQuote?.bid} | +{$wsBidPrice !== 0 && $wsBidPrice !== null ? $wsBidPrice : data?.getStockQuote?.bid} | Ask | -{$wsAskPrice !== (0 || null) ? $wsAskPrice : data?.getStockQuote?.ask} | +{$wsAskPrice !== 0 && $wsAskPrice !== null ? $wsAskPrice : data?.getStockQuote?.ask} |
| Provider | diff --git a/src/lib/components/TickerInfoCard.svelte b/src/lib/components/TickerInfoCard.svelte index fd0d739b..d080d64e 100644 --- a/src/lib/components/TickerInfoCard.svelte +++ b/src/lib/components/TickerInfoCard.svelte @@ -125,9 +125,9 @@ $: { -->|||||
| Bid | -{$wsBidPrice !== (0 || null) ? $wsBidPrice : data?.getStockQuote?.bid} | +{$wsBidPrice !== 0 && $wsBidPrice !== null ? $wsBidPrice : data?.getStockQuote?.bid} | Ask | -{$wsAskPrice !== (0 || null) ? $wsAskPrice : data?.getStockQuote?.ask} | +{$wsAskPrice !== 0 && $wsAskPrice !== null ? $wsAskPrice : data?.getStockQuote?.ask} |
| Mkt Cap | diff --git a/src/lib/store.ts b/src/lib/store.ts index a284c7ed..d39cabba 100644 --- a/src/lib/store.ts +++ b/src/lib/store.ts @@ -56,8 +56,8 @@ export const displayCompanyName = writable(