diff --git a/src/components/controlComponents/paneCapture.vue b/src/components/controlComponents/paneCapture.vue index 5b415c2b..fcc3164b 100644 --- a/src/components/controlComponents/paneCapture.vue +++ b/src/components/controlComponents/paneCapture.vue @@ -247,7 +247,7 @@ @@ -265,15 +265,17 @@ export default { // Lock move requests this.moveLock = true; - if (!this.moveInImageCoordinatesUri){ - this.modalError("Moving in image coordinates is not supported - you will need to upgrade your microscope's software."); + if (!this.moveInImageCoordinatesUri) { + this.modalError( + "Moving in image coordinates is not supported - you will need to upgrade your microscope's software." + ); } // Send move request axios .post(this.moveInImageCoordinatesUri, { x: y, // NB the coordinates are numpy/PIL style, meaning X and Y are swapped. - y: x, + y: x }) .then(() => { this.updatePosition(); // Update the position in text boxes @@ -340,7 +342,8 @@ export default { ); if (foundExtension) { // Get plugin action link - this.moveInImageCoordinatesUri = foundExtension.links.move_in_image_coordinates.href; + this.moveInImageCoordinatesUri = + foundExtension.links.move_in_image_coordinates.href; } }) .catch(error => { diff --git a/src/components/genericComponents/taskSubmitter.vue b/src/components/genericComponents/taskSubmitter.vue index 9ce03642..59d7e9c5 100644 --- a/src/components/genericComponents/taskSubmitter.vue +++ b/src/components/genericComponents/taskSubmitter.vue @@ -13,7 +13,7 @@