ui fixes
This commit is contained in:
parent
4f12bc0e46
commit
74a540adae
@ -289,9 +289,8 @@ $: {
|
||||
<thead>
|
||||
<tr class="border-b border-blue-400">
|
||||
<th class="text-white shadow-md font-semibold text-sm text-start bg-[#0F0F0F]">Drug</th>
|
||||
<th class="text-white shadow-md font-semibold text-sm text-start bg-[#0F0F0F]">Date</th>
|
||||
<th class="text-white shadow-md font-semibold text-sm text-center bg-[#0F0F0F]">Stage</th>
|
||||
<th class="text-white shadow-md font-semibold text-sm text-end bg-[#0F0F0F]">Phase Status</th>
|
||||
<th class="text-white shadow-md font-semibold text-sm text-start bg-[#0F0F0F]">Stage</th>
|
||||
<th class="text-white shadow-md font-semibold text-sm text-center bg-[#0F0F0F]">Phase Status</th>
|
||||
<th class="text-white shadow-md font-semibold text-sm text-end bg-[#0F0F0F]">Result</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -302,16 +301,17 @@ $: {
|
||||
<td class="text-white font-medium">
|
||||
{item["Interventions"]?.length === 0 ? '-' : item["Interventions"]?.length > charNumber ? formatString(item["Interventions"]?.slice(0,charNumber)) + "..." : formatString(item["Interventions"])}
|
||||
</td>
|
||||
|
||||
<!--
|
||||
<td class="text-white font-medium w-full text-start">
|
||||
{item['Start Date'] === null ? 'n/a' : new Date(item["Start Date"])?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}
|
||||
</td>
|
||||
-->
|
||||
|
||||
<td class="text-white text-center font-medium">
|
||||
<td class="text-white text-start font-medium">
|
||||
{formatString(item['Study Status'])}
|
||||
</td>
|
||||
|
||||
<td class="text-white text-end font-medium">
|
||||
<td class="text-white text-center font-medium">
|
||||
{item['Phases'] !== 'NA' ? formatString(item["Phases"])?.replace('Phase','') : '-'}
|
||||
</td>
|
||||
|
||||
|
||||
@ -156,10 +156,11 @@
|
||||
<th class="text-start bg-[#0F0F0F] text-white text-sm font-semibold">
|
||||
Name
|
||||
</th>
|
||||
|
||||
<th class="text-start bg-[#0F0F0F] text-white text-sm font-semibold">
|
||||
Source
|
||||
</th>
|
||||
-->
|
||||
<th class="text-start bg-[#0F0F0F] text-white text-sm font-semibold">
|
||||
Source
|
||||
</th>
|
||||
<th class="text-start bg-[#0F0F0F] text-white text-sm font-semibold">
|
||||
Drug
|
||||
</th>
|
||||
@ -194,12 +195,11 @@
|
||||
<td class="hidden sm:table-cell text-white text-sm text-white text-start">
|
||||
{item?.name?.length > charNumber ? item?.name?.slice(0,charNumber) + "..." : item?.name}
|
||||
</td>
|
||||
-->
|
||||
|
||||
|
||||
<td class="text-start text-sm font-medium text-white">
|
||||
{item?.sourceType?.length !== 0 ? item?.sourceType : 'n/a'}
|
||||
</td>
|
||||
|
||||
</td>
|
||||
-->
|
||||
|
||||
<td class="text-start text-sm font-medium text-white">
|
||||
{item?.drugName}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user