Skip to content

Commit

Permalink
In Use indicator added to BedActivityTimeLine
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevildude committed Dec 24, 2023
1 parent f86db24 commit 2e98352
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ const BedAllocationNode = ({
}) was allocated at ${formatDateTime(bed.start_date)} | ${
bed.bed_object.location_object?.name
}`}
actions={
isLastNode && (
<p className="mr-10 rounded-full border border-yellow-600 bg-yellow-500 px-2 text-white">
IN USE
</p>
)
}
isLast={isLastNode}
/>
</>
Expand Down

0 comments on commit 2e98352

Please sign in to comment.