Adding when temp and secSymptom evaluation is over at the same day
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ export default function getSymptoThermalStatus(cycleInfo) {
|
||||
const tempOver = temperatureShift.evaluationCompleteDay.date
|
||||
const secondarySymptomOver = secondaryShift.evaluationCompleteDay.date
|
||||
|
||||
if (tempOver > secondarySymptomOver) {
|
||||
if (tempOver >= secondarySymptomOver) {
|
||||
periOvulatoryEnd = temperatureShift.evaluationCompleteDay
|
||||
} else if (secondarySymptom > tempOver) {
|
||||
periOvulatoryEnd = secondaryShift.evaluationCompleteDay
|
||||
|
||||
Reference in New Issue
Block a user