bugfixing
This commit is contained in:
parent
ccd020ad6b
commit
3db4011a92
@ -94,9 +94,9 @@ let showFullText = false;
|
|||||||
|
|
||||||
<tr class="text-white border-b border-[#27272A]">
|
<tr class="text-white border-b border-[#27272A]">
|
||||||
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Bid</td>
|
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Bid</td>
|
||||||
<td class="text-center sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsBidPrice !== (0 || null) ? $wsBidPrice : data?.getStockQuote?.bid}</td>
|
<td class="text-center sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsBidPrice !== 0 && $wsBidPrice !== null ? $wsBidPrice : data?.getStockQuote?.bid}</td>
|
||||||
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Ask</td>
|
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Ask</td>
|
||||||
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsAskPrice !== (0 || null) ? $wsAskPrice : data?.getStockQuote?.ask}</td>
|
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsAskPrice !== 0 && $wsAskPrice !== null ? $wsAskPrice : data?.getStockQuote?.ask}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="text-white border-b border-[#27272A]">
|
<tr class="text-white border-b border-[#27272A]">
|
||||||
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Provider</td>
|
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Provider</td>
|
||||||
|
|||||||
@ -125,9 +125,9 @@ $: {
|
|||||||
-->
|
-->
|
||||||
<tr class="text-white border-b border-[#27272A]">
|
<tr class="text-white border-b border-[#27272A]">
|
||||||
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Bid</td>
|
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Bid</td>
|
||||||
<td class="text-center sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsBidPrice !== (0 || null) ? $wsBidPrice : data?.getStockQuote?.bid}</td>
|
<td class="text-center sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsBidPrice !== 0 && $wsBidPrice !== null ? $wsBidPrice : data?.getStockQuote?.bid}</td>
|
||||||
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Ask</td>
|
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Ask</td>
|
||||||
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsAskPrice !== (0 || null) ? $wsAskPrice : data?.getStockQuote?.ask}</td>
|
<td class="text-start sm:text-end bg-[#000] lg:bg-[#09090B]">{$wsAskPrice !== 0 && $wsAskPrice !== null ? $wsAskPrice : data?.getStockQuote?.ask}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="text-white border-b border-[#27272A]">
|
<tr class="text-white border-b border-[#27272A]">
|
||||||
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Mkt Cap</td>
|
<td class="text-start bg-[#000] lg:bg-[#09090B] text-white font-semibold whitespace-nowrap">Mkt Cap</td>
|
||||||
|
|||||||
@ -56,8 +56,8 @@ export const displayCompanyName = writable(<string>"");
|
|||||||
export const currentPrice = writable(<number>0);
|
export const currentPrice = writable(<number>0);
|
||||||
export const currentPortfolioPrice = writable(<number>0);
|
export const currentPortfolioPrice = writable(<number>0);
|
||||||
export const realtimePrice = writable(<number>0);
|
export const realtimePrice = writable(<number>0);
|
||||||
export const wsBidPrice = writable(<number>0);
|
export const wsBidPrice = writable(null);
|
||||||
export const wsAskPrice = writable(<number>0);
|
export const wsAskPrice = writable(null);
|
||||||
|
|
||||||
export const priceIncrease = writable(<boolean>false);
|
export const priceIncrease = writable(<boolean>false);
|
||||||
export const isCrosshairMoveActive = writable(<boolean>true);
|
export const isCrosshairMoveActive = writable(<boolean>true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user