calculates cycle days for headaches

This commit is contained in:
tina committed 2024-10-15 17:52:38 +02:00
1 parent fd6f39fbc4
commit a4e0fa64e9
3 files changed
+53 -16

No files matched your search

+3
View File
@@ -73,6 +73,9 @@ export function getTemperatureDaysSortedByDate() {
.filtered('temperature != null')
.sorted('date', true)
}
export function getPainDaysSortedByDate() {
return db.objects('CycleDay').filtered('pain != null').sorted('date', true)
}
export function getCycleDaysSortedByDate() {
const cycleDays = db.objects('CycleDay').sorted('date', true)