kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fixed timer when restarting a failed task
rodzic
d03ed3f096
commit
4fa2a8826b
|
@ -70,7 +70,10 @@ class TaskListItem extends React.Component {
|
|||
}
|
||||
|
||||
unloadTimer(){
|
||||
if (this.processingTimeInterval) clearInterval(this.processingTimeInterval);
|
||||
if (this.processingTimeInterval){
|
||||
clearInterval(this.processingTimeInterval);
|
||||
this.processingTimeInterval = null;
|
||||
}
|
||||
if (this.state.task.processing_time) this.setState({time: this.state.task.processing_time});
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue