ui fix
This commit is contained in:
parent
1995c75762
commit
6cff463a34
@ -1203,15 +1203,21 @@
|
|||||||
><td
|
><td
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
||||||
><a
|
><a
|
||||||
href={`/stocks/${$stockTicker}/forecast`}
|
href={data?.getAnalystRating?.consensusRating !==
|
||||||
class="sm:hover:text-blue-400 text-white underline underline-offset-4"
|
undefined
|
||||||
>Analyst</a
|
? `/stocks/${$stockTicker}/forecast`
|
||||||
|
: ""}
|
||||||
|
class={data?.getAnalystRating?.consensusRating !==
|
||||||
|
undefined
|
||||||
|
? "sm:hover:text-blue-400 text-white underline underline-offset-4"
|
||||||
|
: "text-white cursor-text"}>Analyst</a
|
||||||
>
|
>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
||||||
>{data?.getAnalystRating?.consensusRating !== null &&
|
>{data?.getAnalystRating?.consensusRating !== null &&
|
||||||
data?.getAnalystRating?.consensusRating !== "n/a"
|
data?.getAnalystRating?.consensusRating !== "n/a" &&
|
||||||
|
data?.getAnalystRating?.consensusRating !== undefined
|
||||||
? data?.getAnalystRating?.consensusRating
|
? data?.getAnalystRating?.consensusRating
|
||||||
: "n/a"}</td
|
: "n/a"}</td
|
||||||
></tr
|
></tr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user