style: format the auto-take changes

This commit is contained in:
Marc-André Bombeck committed 2026-10-11 13:53:40 +02:00
1 parent 7417d8f423
commit 2a626be92d
5 files changed
+16 -14

No files matched your search

@@ -92,10 +92,10 @@ export function MedicationStateBadges({
!autoMarkTaken &&
!recordOnly &&
!courseEnded && (
<Badge variant="secondary" className="text-xs">
{t("medications.withoutNotification")}
</Badge>
)}
<Badge variant="secondary" className="text-xs">
{t("medications.withoutNotification")}
</Badge>
)}
{!active && (
<Badge variant="secondary" className="text-xs">
{pausedAt
@@ -435,7 +435,8 @@ export function IntakeHistoryListV2({
{event.autoRecorded
? t("medications.intakeRecordedAutomatically")
: t("medications.intakeSourceVia", {
origin: sourceLabels[event.source] ?? event.source,
origin:
sourceLabels[event.source] ?? event.source,
})}
</Badge>
</TableCell>
@@ -541,7 +542,9 @@ export function IntakeHistoryListV2({
{event.autoRecorded
? t("medications.intakeRecordedAutomatically")
: t("medications.intakeSourceVia", {
origin: sourceLabels[event.source] ?? event.source,
origin:
sourceLabels[event.source] ??
event.source,
})}
</Badge>
</div>