Prettier on slideScanContent

This commit is contained in:
Joe Knapper 2026-02-09 17:09:38 +00:00 committed by jaknapper
parent 1a0dd71f30
commit fb7a8b4959

View file

@ -11,11 +11,7 @@
:value="workflowName" :value="workflowName"
@change="setWorkflow($event.target.value)" @change="setWorkflow($event.target.value)"
> >
<option <option v-for="(label, name) in workflowOptions" :key="name" :value="name">
v-for="(label, name) in workflowOptions"
:key="name"
:value="name"
>
{{ label }} {{ label }}
</option> </option>
</select> </select>
@ -178,10 +174,7 @@ export default {
async created() { async created() {
this.readSettings(); this.readSettings();
this.workflowOptions = await this.readThingProperty( this.workflowOptions = await this.readThingProperty("smart_scan", "workflow_display_names");
"smart_scan",
"workflow_display_names",
);
}, },
methods: { methods: {
@ -243,11 +236,7 @@ export default {
try { try {
this.workflowName = name; this.workflowName = name;
await this.writeThingProperty( await this.writeThingProperty("smart_scan", "workflow_name", name);
"smart_scan",
"workflow_name",
name
);
// refresh UI // refresh UI
await this.readSettings(); await this.readSettings();
@ -255,10 +244,7 @@ export default {
this.modalError(err); this.modalError(err);
// revert if server rejected // revert if server rejected
this.workflowName = await this.readThingProperty( this.workflowName = await this.readThingProperty("smart_scan", "workflow_name");
"smart_scan",
"workflow_name"
);
} }
}, },
async downloadZipFile(response) { async downloadZipFile(response) {