Skip to content

Commit

Permalink
Fix patient badge position
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Jun 10, 2024
1 parent 4af591e commit 628d721
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/lib/ResourceSelector.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,14 @@
<AccordionItem on:toggle={updateBadge(resourceType)}>
<span slot="header">
{#if resourceType === "Patient"}
Patients <Badge color={patientBadgeColor}>{Object.values(patients).length}</Badge>
Patients
<Badge
positioned
class="mx-1"
color={patientBadgeColor}
>
{Object.values(patients).length}
</Badge>
{:else}
{`${resourceType}s`}
<Badge
Expand Down

0 comments on commit 628d721

Please sign in to comment.