Skip to content
Snippets Groups Projects
Commit d93164ae authored by emelko's avatar emelko
Browse files

Bugfix parsing only value of temp toString

parent d4633e09
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ export default class Temp extends Component {
let initialValue
if(cycleDay.temperature) {
initialValue = cycleDay.temperature.toString()
initialValue = cycleDay.temperature.value.toString()
} else {
const prevTemp = getPreviousTemperature(cycleDay)
initialValue = prevTemp ? prevTemp.toString() : ''
......
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