ui fix
This commit is contained in:
parent
199563ce21
commit
745c11ef26
@ -373,9 +373,9 @@ onMount( async() => {
|
||||
<Card.Content>
|
||||
<ul style="padding-left: 5px;">
|
||||
{#each data?.getDashboard?.upcomingEarnings as item}
|
||||
<li style="font-size: 16px; line-height: 22px; margin-bottom: 20px; list-style-type: disc;">
|
||||
<li style="margin-left: 8px; line-height: 22px; margin-bottom: 20px; list-style-type: disc;">
|
||||
<strong>{item?.name}</strong> (<a href="/stocks/{item?.symbol}" class="text-blue-400 sm:hover:text-white">{item?.symbol}</a>)
|
||||
will report tomorrow
|
||||
will report {['Monday', 'Tuesday', 'Wednesday', 'Thursday'].includes(new Date().toLocaleDateString('en-US', { weekday: 'long' })) ? "will report tomorrow" : "will report monday"}
|
||||
{#if item?.time}
|
||||
{#if compareTimes(item?.time, '16:00') > 0}
|
||||
after market closes.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user