Skip to content

Commit

Permalink
dont change timespan if data is loading #209
Browse files Browse the repository at this point in the history
  • Loading branch information
io53 committed Aug 7, 2024
1 parent 04a0767 commit b520aaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/states/SensorCompare.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ function SensorCompare(props) {
}

const updateDuration = (v) => {
if (loading) return
setDurationPickerValue(v)
let setFromTo = null, setToTo = null
if (typeof v === "object") {
Expand Down

0 comments on commit b520aaa

Please sign in to comment.