From 5024d337633118435bc042e38fba476587990054 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Aug 2023 18:20:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../src/stories/pages/guided-mode/data/GuidedStructure.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js b/src/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js index 60dd6feaa..e13ce00e0 100644 --- a/src/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js +++ b/src/renderer/src/stories/pages/guided-mode/data/GuidedStructure.js @@ -67,7 +67,7 @@ export class GuidedStructurePage extends Page { async updated() { const selected = this.info.globalState.interfaces; - if (Object.keys(selected).length > 0) this.list.emptyMessage = 'Loading valid interfaces...' + if (Object.keys(selected).length > 0) this.list.emptyMessage = "Loading valid interfaces..."; this.search.options = await fetch(`${baseUrl}/neuroconv`) .then((res) => res.json()) @@ -98,8 +98,7 @@ export class GuidedStructurePage extends Page { this.list.add({ ...found, key }); // Add previously selected items } - this.addButton.removeAttribute('hidden') - + this.addButton.removeAttribute("hidden"); } render() { @@ -107,7 +106,7 @@ export class GuidedStructurePage extends Page { this.list.style.display = "inline-block"; this.list.clear(); this.addButton.style.display = "block"; - this.addButton.setAttribute('hidden', '') + this.addButton.setAttribute("hidden", ""); return html`