forked from ppfun/pixelplanet
fix issue of Loading not disappearing in Historical mode
This commit is contained in:
parent
9207890b3c
commit
56370c548f
|
@ -143,13 +143,16 @@ class HistorySelect extends React.Component {
|
|||
});
|
||||
return;
|
||||
}
|
||||
this.setState({
|
||||
submitting: false,
|
||||
selectedDate,
|
||||
});
|
||||
newPos = (newPos < 0) ? (times.length - 1) : 0;
|
||||
}
|
||||
|
||||
selectedTime = times[newPos];
|
||||
this.setState({
|
||||
times,
|
||||
selectedDate,
|
||||
selectedTime,
|
||||
});
|
||||
setTime(selectedDate, selectedTime);
|
||||
|
|
Loading…
Reference in New Issue
Block a user