From fb7a8b49599cd267a585b346f429a1daa66a9c8f Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Mon, 9 Feb 2026 17:09:38 +0000 Subject: [PATCH] Prettier on slideScanContent --- .../tabContentComponents/slideScanContent.vue | 60 +++++++------------ 1 file changed, 23 insertions(+), 37 deletions(-) diff --git a/webapp/src/components/tabContentComponents/slideScanContent.vue b/webapp/src/components/tabContentComponents/slideScanContent.vue index b10b9d49..9682f255 100644 --- a/webapp/src/components/tabContentComponents/slideScanContent.vue +++ b/webapp/src/components/tabContentComponents/slideScanContent.vue @@ -2,24 +2,20 @@
- -
- + +
+ - -
+ +

{{ workflowDisplayName }}

@@ -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: { @@ -240,25 +233,18 @@ export default { } }, async setWorkflow(name) { - try { - this.workflowName = name; + 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(); - } catch (err) { - this.modalError(err); + // refresh UI + await this.readSettings(); + } catch (err) { + this.modalError(err); - // revert if server rejected - this.workflowName = await this.readThingProperty( - "smart_scan", - "workflow_name" - ); + // revert if server rejected + this.workflowName = await this.readThingProperty("smart_scan", "workflow_name"); } }, async downloadZipFile(response) {