mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 14:32:03 +00:00
fix(medications): retrospective rolling-cadence compliance + currentCycle descriptor
This commit is contained in:
1 parent
617eadee20
commit
a55816bf58
7 files changed
+777
-15
No files matched your search
@@ -265,6 +265,11 @@ export const GET = apiHandler(
|
||||
dayStart,
|
||||
dayEnd,
|
||||
medicationContext,
|
||||
// v1.13.x — pass the intake history so a ROLLING schedule's per-day
|
||||
// `due` flags come from the retrospective grid (each logged dose is a
|
||||
// due day) instead of the engine's single forward slot — keeping the
|
||||
// heatmap, the denominator, and the displayed rate in agreement.
|
||||
mapped,
|
||||
);
|
||||
|
||||
dailyCompliance[dateKey] = {
|
||||
|
||||
Reference in new issue
Block a user