Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline style view for Daily Rounds #6808

Merged
merged 20 commits into from
Dec 28, 2023
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
complete merge
  • Loading branch information
Pranshu1902 committed Dec 24, 2023
commit d1a49776a9029cdaf14f41848f01c806a244ecbb
Original file line number Diff line number Diff line change
@@ -16,6 +16,10 @@ const DefaultLogUpdateCard = ({ round, ...props }: Props) => {

return (
<div className="flex w-full flex-col gap-4 rounded-lg border border-gray-400 p-4 @container">
<LogUpdateCardAttribute
attributeKey={"Round Type" as any}
attributeValue={t(round.rounds_type)}
/>
<LogUpdateCardAttribute
attributeKey="patient_category"
attributeValue={round.patient_category}
2 changes: 0 additions & 2 deletions src/Components/Facility/Consultations/DailyRoundsList.tsx
Original file line number Diff line number Diff line change
@@ -48,7 +48,6 @@ export default function DailyRoundsList({ consultation }: Props) {
<PaginatedList.WhenLoading>
<LoadingLogUpdateCard />
</PaginatedList.WhenLoading>
{/* <PaginatedList.Display> */}
<Timeline
className="rounded-lg bg-white p-2 shadow"
name="log update"
@@ -117,7 +116,6 @@ export default function DailyRoundsList({ consultation }: Props) {
}}
</PaginatedList.Items>
</Timeline>
{/* </PaginatedList.Display> */}
<div className="flex w-full items-center justify-center">
<PaginatedList.Paginator hideIfSinglePage />
</div>