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