Linter fixes

This commit is contained in:
Richard Bowman 2024-01-04 16:35:38 +00:00
parent bea9bdee02
commit a442709412
2 changed files with 14 additions and 4 deletions

View file

@ -117,7 +117,10 @@
:can-terminate="true"
:poll-interval="0.05"
@taskStarted="moveLock = true"
@finished="updatePosition(); moveLock = false"
@finished="
updatePosition();
moveLock = false;
"
@error="modalError"
></taskSubmitter>
</p>
@ -139,7 +142,10 @@
:button-primary="false"
:submit-on-event="'globalFastAutofocusEvent'"
@taskStarted="isAutofocusing = 1"
@finished="updatePosition(); isAutofocusing = 0"
@finished="
updatePosition();
isAutofocusing = 0;
"
@error="modalError"
></taskSubmitter>
</div>

View file

@ -1,6 +1,8 @@
<template>
<div class="uk-padding-small">
<div v-show="!backendOK" class="uk-alert-danger">No scan back-end found.</div>
<div v-show="!backendOK" class="uk-alert-danger">
No scan back-end found.
</div>
<div v-show="backendOK">
<taskSubmitter
:submit-url="smartScanUri"
@ -176,7 +178,9 @@ export default {
backendOK() {
return this.thingAvailable("smart_scan");
},
smartScanUri() { return this.thingActionUrl("smart_scan", "sample_scan") },
smartScanUri() {
return this.thingActionUrl("smart_scan", "sample_scan");
},
currentTimeForm: {
get() {
// Chop the timezone information from the end