Linter fixes
This commit is contained in:
parent
bea9bdee02
commit
a442709412
2 changed files with 14 additions and 4 deletions
|
|
@ -117,7 +117,10 @@
|
||||||
:can-terminate="true"
|
:can-terminate="true"
|
||||||
:poll-interval="0.05"
|
:poll-interval="0.05"
|
||||||
@taskStarted="moveLock = true"
|
@taskStarted="moveLock = true"
|
||||||
@finished="updatePosition(); moveLock = false"
|
@finished="
|
||||||
|
updatePosition();
|
||||||
|
moveLock = false;
|
||||||
|
"
|
||||||
@error="modalError"
|
@error="modalError"
|
||||||
></taskSubmitter>
|
></taskSubmitter>
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -139,7 +142,10 @@
|
||||||
:button-primary="false"
|
:button-primary="false"
|
||||||
:submit-on-event="'globalFastAutofocusEvent'"
|
:submit-on-event="'globalFastAutofocusEvent'"
|
||||||
@taskStarted="isAutofocusing = 1"
|
@taskStarted="isAutofocusing = 1"
|
||||||
@finished="updatePosition(); isAutofocusing = 0"
|
@finished="
|
||||||
|
updatePosition();
|
||||||
|
isAutofocusing = 0;
|
||||||
|
"
|
||||||
@error="modalError"
|
@error="modalError"
|
||||||
></taskSubmitter>
|
></taskSubmitter>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="uk-padding-small">
|
<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">
|
<div v-show="backendOK">
|
||||||
<taskSubmitter
|
<taskSubmitter
|
||||||
:submit-url="smartScanUri"
|
:submit-url="smartScanUri"
|
||||||
|
|
@ -176,7 +178,9 @@ export default {
|
||||||
backendOK() {
|
backendOK() {
|
||||||
return this.thingAvailable("smart_scan");
|
return this.thingAvailable("smart_scan");
|
||||||
},
|
},
|
||||||
smartScanUri() { return this.thingActionUrl("smart_scan", "sample_scan") },
|
smartScanUri() {
|
||||||
|
return this.thingActionUrl("smart_scan", "sample_scan");
|
||||||
|
},
|
||||||
currentTimeForm: {
|
currentTimeForm: {
|
||||||
get() {
|
get() {
|
||||||
// Chop the timezone information from the end
|
// Chop the timezone information from the end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue