remove shareholders to etf
This commit is contained in:
parent
5da5ded55a
commit
e345c23c21
@ -1,7 +1,7 @@
|
|||||||
<script lang='ts'>
|
<script lang='ts'>
|
||||||
|
|
||||||
import { Chart } from 'svelte-echarts'
|
import { Chart } from 'svelte-echarts'
|
||||||
import { screenWidth, stockTicker, etfTicker, cryptoTicker, assetType, userRegion, getCache, setCache} from '$lib/store';
|
import { screenWidth, stockTicker, userRegion, getCache, setCache} from '$lib/store';
|
||||||
import { formatString } from '$lib/utils';
|
import { formatString } from '$lib/utils';
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import { abbreviateNumber } from '$lib/utils';
|
import { abbreviateNumber } from '$lib/utils';
|
||||||
@ -111,10 +111,9 @@ $: {
|
|||||||
|
|
||||||
isLoaded = false;
|
isLoaded = false;
|
||||||
showFullStats = false;
|
showFullStats = false;
|
||||||
const ticker = $stockTicker;
|
|
||||||
|
|
||||||
const asyncFunctions = [
|
const asyncFunctions = [
|
||||||
getShareholders(ticker)
|
getShareholders($stockTicker)
|
||||||
];
|
];
|
||||||
Promise.all(asyncFunctions)
|
Promise.all(asyncFunctions)
|
||||||
.then((results) => {
|
.then((results) => {
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
import {AreaSeries, Chart, PriceLine, CandlestickSeries} from 'svelte-lightweight-charts';
|
import {AreaSeries, Chart, PriceLine, CandlestickSeries} from 'svelte-lightweight-charts';
|
||||||
|
|
||||||
import { TrackingModeExitMode } from 'lightweight-charts';
|
import { TrackingModeExitMode } from 'lightweight-charts';
|
||||||
import {assetType, screenWidth, globalForm, userRegion, numberOfUnreadNotification, displayCompanyName, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, currentPrice, clientSideCache, etfTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
|
import {trendAnalysisComponent, priceAnalysisComponent, assetType, screenWidth, globalForm, userRegion, numberOfUnreadNotification, displayCompanyName, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, currentPrice, clientSideCache, etfTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
|
||||||
import { onDestroy, onMount } from 'svelte';
|
import { onDestroy, onMount } from 'svelte';
|
||||||
import ETFKeyInformation from '$lib/components/ETFKeyInformation.svelte';
|
import ETFKeyInformation from '$lib/components/ETFKeyInformation.svelte';
|
||||||
import Lazy from '$lib/components/Lazy.svelte';
|
import Lazy from '$lib/components/Lazy.svelte';
|
||||||
@ -1279,7 +1279,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<Lazy>
|
<Lazy>
|
||||||
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6">
|
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$priceAnalysisComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/PriceAnalysis.svelte') then {default: Comp}}
|
{#await import('$lib/components/PriceAnalysis.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
@ -1287,7 +1287,7 @@
|
|||||||
</Lazy>
|
</Lazy>
|
||||||
|
|
||||||
<Lazy>
|
<Lazy>
|
||||||
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6">
|
<div class="w-full mt-10 sm:mt-5 m-auto sm:pl-6 sm:pb-6 sm:pt-6 {!$trendAnalysisComponent ? 'hidden' : ''}">
|
||||||
{#await import('$lib/components/TrendAnalysis.svelte') then {default: Comp}}
|
{#await import('$lib/components/TrendAnalysis.svelte') then {default: Comp}}
|
||||||
<svelte:component this={Comp} data={data} />
|
<svelte:component this={Comp} data={data} />
|
||||||
{/await}
|
{/await}
|
||||||
@ -1314,15 +1314,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<!--Start Shareholders-->
|
|
||||||
<Lazy>
|
|
||||||
<div class="w-full sm:pl-6 sm:pb-6 sm:pt-6 m-auto mb-5">
|
|
||||||
{#await import('$lib/components/ShareHolders.svelte') then {default: Comp}}
|
|
||||||
<svelte:component this={Comp} />
|
|
||||||
{/await}
|
|
||||||
</div>
|
|
||||||
</Lazy>
|
|
||||||
<!--End Shareholders-->
|
|
||||||
|
|
||||||
<!--End Price Prediction Model-->
|
<!--End Price Prediction Model-->
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user