Fixed onScanError

This commit is contained in:
Joel Collins 2020-12-04 15:14:30 +00:00
parent 8eff136cc3
commit 1de6b2a0ab

View file

@ -233,6 +233,11 @@ export default {
});
},
onScanError: function(error) {
this.scanRunning = false;
this.modalError(error);
},
decrement: function() {
if (this.stepValue > 0) {
this.stepValue = this.stepValue - 1;
@ -293,11 +298,6 @@ export default {
pad(tzo % 60)
);
}
},
onScanError: function(error) {
this.scanRunning = false;
this.modalError(error);
}
};
</script>