bugfixing
This commit is contained in:
parent
a455daae67
commit
36fffb7438
@ -910,7 +910,12 @@
|
|||||||
<p
|
<p
|
||||||
class="mb-4 px-0.5 text-base leading-relaxed text-white xs:text-[1.05rem] lg:leading-normal"
|
class="mb-4 px-0.5 text-base leading-relaxed text-white xs:text-[1.05rem] lg:leading-normal"
|
||||||
>
|
>
|
||||||
{$stockTicker} does not appear to pay any dividends at this time.
|
{#if rawData?.annualDividend !== null && rawData?.dividendYield !== null}
|
||||||
|
{$stockTicker} pays an annual dividend of ${rawData?.annualDividend},
|
||||||
|
which amounts to a dividend yield of {rawData?.dividendYield}%.
|
||||||
|
{:else}
|
||||||
|
{$stockTicker} does not appear to pay any dividends at this time.
|
||||||
|
{/if}
|
||||||
</p>
|
</p>
|
||||||
<table class="w-full" data-test="statistics-table">
|
<table class="w-full" data-test="statistics-table">
|
||||||
<tbody
|
<tbody
|
||||||
@ -931,7 +936,7 @@
|
|||||||
<td
|
<td
|
||||||
class="px-[5px] py-1.5 text-right font-semibold xs:px-2.5 xs:py-2"
|
class="px-[5px] py-1.5 text-right font-semibold xs:px-2.5 xs:py-2"
|
||||||
>{rawData?.dividendYield !== null
|
>{rawData?.dividendYield !== null
|
||||||
? rawData?.dividendYield
|
? rawData?.dividendYield + "%"
|
||||||
: "n/a"}</td
|
: "n/a"}</td
|
||||||
>
|
>
|
||||||
</tr><tr class="border-y border-gray-600 odd:bg-secondary"
|
</tr><tr class="border-y border-gray-600 odd:bg-secondary"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user