ui_migration lint(fix): changes fixed with lint ecmaversion & es2021

This commit is contained in:
Antonio Anaya 2026-02-15 01:03:29 -06:00
parent 0741e3cf7e
commit ce19ea3fc0
52 changed files with 242 additions and 193 deletions

View file

@ -9,7 +9,7 @@
:submit-label="'Autofocus'"
:button-primary="true"
:submit-on-event="'globalFastAutofocusEvent'"
@taskStarted="onAutofocus"
@task-started="onAutofocus"
@finished="afterAutofocus"
@error="modalError"
/>
@ -25,7 +25,7 @@ export default {
name: "AutofocusControl",
components: {
ActionButton
ActionButton,
},
data: function () {

View file

@ -42,7 +42,7 @@ export default {
components: {
ActionButton,
positionControl,
autofocusControl
autofocusControl,
},
computed: {

View file

@ -15,8 +15,8 @@ and zero position buttons. It also includes the d-pad.
<!-- Text boxes to set and view position -->
<div class="input-and-buttons-container">
<input
:key="`setPosition_${key}`"
v-for="(_v, key) in setPosition"
:key="`setPosition_${key}`"
v-model="setPosition[key]"
class="uk-form-small numeric-setting-line-input"
type="number"
@ -70,7 +70,7 @@ export default {
components: {
ActionButton,
syncPropertyButton,
stageControlButtons
stageControlButtons,
},
data: function () {

View file

@ -43,7 +43,7 @@ export default {
name: "StageControlButtons",
methods: {
move(x, y, z) {
eventBus.emit("globalMoveStepEvent", {x, y, z, absolute: false});
eventBus.emit("globalMoveStepEvent", { x, y, z, absolute: false });
},
},
};