Files
medassist-ng/frontend
Daniel Volz 31a89356fe fix: prevent crash when takenBy is not an array (#92)
- Add Array.isArray() checks before calling .map() on dose.takenBy
- Fixes TypeError: dose.takenBy.map is not a function
- Affects AppContext missedPastDoseIds calculation
- Affects SchedulePage dose ID generation (3 locations)

This hotfix prevents the app from crashing when dose.takenBy
is null, undefined, or any non-array value.
2026-02-03 05:57:11 +01:00
..
2026-01-23 21:42:57 +01:00
2026-02-01 00:23:54 +01:00
2025-12-19 13:09:53 +01:00
2025-12-19 13:09:53 +01:00