Fixed onError propagation

This commit is contained in:
Joel Collins 2020-12-04 15:08:39 +00:00
parent 213dec3e5c
commit 08f653233b
8 changed files with 13 additions and 26 deletions

View file

@ -95,7 +95,7 @@
submit-label="Start scan"
@submit="scanRunning = true"
@response="scanRunning = false"
@error="scanRunning = false"
@error="onScanError"
></taskSubmitter>
<br />
@ -293,6 +293,11 @@ export default {
pad(tzo % 60)
);
}
},
onScanError: function(error) {
this.scanRunning = false;
this.modalError(error);
}
};
</script>