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