mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
style: format the auto-take changes
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user