From 9d088916a98590cd10723aff5f7eaa05c670982e Mon Sep 17 00:00:00 2001 From: Richard Date: Mon, 31 May 2021 12:45:30 +0100 Subject: [PATCH] Linter fixes --- .../imjoyComponents/imjoyPluginCard.vue | 10 +++++++--- .../tabContentComponents/imjoyContent.vue | 20 +++++++++++-------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyComponents/imjoyPluginCard.vue b/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyComponents/imjoyPluginCard.vue index 9e7892af..0ee6986e 100644 --- a/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyComponents/imjoyPluginCard.vue +++ b/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyComponents/imjoyPluginCard.vue @@ -18,11 +18,15 @@
-

{{name}}

-

+

{{ name }}

+

+ +

- +
diff --git a/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyContent.vue b/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyContent.vue index 4e99ed88..f6f4df13 100644 --- a/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyContent.vue +++ b/openflexure_microscope/api/static/src/components/tabContentComponents/imjoyContent.vue @@ -8,7 +8,9 @@ max="100" > -
+
r.data); + return axios + .get(`${this.baseUri}/api/v2/instrument/settings/`) + .then(r => r.data); }, async setInstrumentSettings(payload) { return axios.put(`${this.baseUri}/api/v2/instrument/settings/`, payload);