Map realm object on the export only

This commit is contained in:
Sofiya Tepikin
2022-05-01 16:33:57 +02:00
parent 7d109878fc
commit 9940c2c46e
2 changed files with 3 additions and 5 deletions
+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() {