This commit is contained in:
MuslemRahimi 2024-07-26 20:00:22 +02:00
parent 84f1ab334b
commit 22d5d14b65
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ async function getFairPrice(ticker) {
fairPrice = null;
}
}
if (fairPrice !== null) {
if (fairPrice !== null && fairPrice >= 0) {
$dcfComponent = true;
}
else {

View File

@ -282,7 +282,7 @@ $: {
<td class="px-[5px] py-1.5 xs:px-2.5 xs:py-2">
<span>Date</span>
</td>
<td class="px-[5px] py-1.5 text-sm text-right font-medium xs:px-2.5 xs:py-2">
<td class="px-[5px] py-1.5 text-sm sm:text[1rem] text-right font-medium xs:px-2.5 xs:py-2">
{ formatDateRange(rawData?.slice(-1)?.at(0)?.date)}
</td>
</tr>