kopia lustrzana https://github.com/OpenDroneMap/WebODM
Finish Minor Tweaks
rodzic
1c883aba01
commit
195ef883d1
|
@ -120,8 +120,13 @@ export default class TaskView extends Component {
|
|||
this.timeoutHandler = null;
|
||||
}
|
||||
if (this.cancelableFetch !== null) {
|
||||
this.cancelableFetch.cancel();
|
||||
this.cancelableFetch = null;
|
||||
try {
|
||||
this.cancelableFetch.cancel();
|
||||
this.cancelableFetch = null;
|
||||
} catch (exception) {
|
||||
console.warning("Failed to clear dead requests");
|
||||
console.warning(exception);
|
||||
}
|
||||
}
|
||||
|
||||
this.refreshAssets = null;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
PluginsAPI.Dashboard.addTaskActionButton(
|
||||
["{{ app_name }}/build/TaskView.js"],
|
||||
function(args, TaskView) {
|
||||
console.log(args);
|
||||
return React.createElement(TaskView, {
|
||||
task: args.task,
|
||||
token: "{{ token }}",
|
||||
|
|
Ładowanie…
Reference in New Issue