Fixed onError propagation
This commit is contained in:
parent
213dec3e5c
commit
08f653233b
8 changed files with 13 additions and 26 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue