Skip to content

Commit

Permalink
minor css change
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevildude committed Mar 11, 2024
1 parent 6ca4811 commit a007d21
Showing 1 changed file with 24 additions and 26 deletions.
50 changes: 24 additions & 26 deletions src/Components/Facility/Consultations/BedActivityTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,32 +133,30 @@ const BedTimelineAsset = ({

return (
<div className="flex flex-col">
<div className="flex flex-col">
{newlyLinkedAssets.length !== 0 && (
<ul className="text-sm text-gray-600">Newly Linked Assets</ul>
)}
{newlyLinkedAssets.map((asset) => (
<li key={asset.id} className="list-disc text-xs text-gray-600">
{asset.name}
</li>
))}
{existingAssets.length !== 0 && (
<ul className="text-sm text-gray-600">Existing Assets</ul>
)}
{existingAssets.map((asset) => (
<li key={asset.id} className="list-disc text-xs text-gray-600">
{asset.name}
</li>
))}
{unlinkedAssets.length !== 0 && (
<ul className="text-sm text-gray-600">Unlinked Assets</ul>
)}
{unlinkedAssets.map((asset) => (
<li key={asset.id} className="list-disc text-xs text-gray-600">
{asset.name}
</li>
))}
</div>
{newlyLinkedAssets.length !== 0 && (
<ul className="text-sm text-gray-600">Newly Linked Assets</ul>
)}
{newlyLinkedAssets.map((asset) => (
<li key={asset.id} className="list-disc text-xs text-gray-600">
{asset.name}
</li>
))}
{existingAssets.length !== 0 && (
<ul className="text-sm text-gray-600">Existing Assets</ul>
)}
{existingAssets.map((asset) => (
<li key={asset.id} className="list-disc text-xs text-gray-600">
{asset.name}
</li>
))}
{unlinkedAssets.length !== 0 && (
<ul className="text-sm text-gray-600">Unlinked Assets</ul>
)}
{unlinkedAssets.map((asset) => (
<li key={asset.id} className="list-disc text-xs text-gray-600">
{asset.name}
</li>
))}
</div>
);
};
Expand Down

0 comments on commit a007d21

Please sign in to comment.