Map realm object on the export only

This commit is contained in:
Sofiya Tepikin committed 2022-05-01 16:33:57 +02:00
1 parent 7d109878fc
commit 9940c2c46e
2 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ export function getTemperatureDaysSortedByDate() {
export function getCycleDaysSortedByDate() {
const cycleDays = db.objects('CycleDay').sorted('date', true)
return mapRealmObjToJsObj(cycleDays)
return cycleDays
}
export function getCycleStartsSortedByDate() {