Skip to content
Snippets Groups Projects
Commit 6a732326 authored by bl00dymarie's avatar bl00dymarie
Browse files

Merge branch '466-bug-temp-hint-for-too-high-or-low-value-shows-at-the-start'...

Merge branch '466-bug-temp-hint-for-too-high-or-low-value-shows-at-the-start' into 'rebased-redesign'

No warning msg if there is no temp data

See merge request bloodyhealth/drip!322
parents ab1acf21 4e6653c5
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ export const isPreviousTemperature = (temperature) => { ...@@ -33,7 +33,7 @@ export const isPreviousTemperature = (temperature) => {
} }
export const isTemperatureOutOfRange = (temperature) => { export const isTemperatureOutOfRange = (temperature) => {
if (temperature === '') return null if (!temperature) return null
const value = Number(temperature) const value = Number(temperature)
const range = { min: TEMP_MIN, max: TEMP_MAX } const range = { min: TEMP_MIN, max: TEMP_MAX }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment