Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 21, 2023
1 parent b748dac commit 5024d33
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -98,16 +98,15 @@ export class GuidedStructurePage extends Page {
this.list.add({ ...found, key }); // Add previously selected items
}

this.addButton.removeAttribute('hidden')

this.addButton.removeAttribute("hidden");
}

render() {
// Reset list
this.list.style.display = "inline-block";
this.list.clear();
this.addButton.style.display = "block";
this.addButton.setAttribute('hidden', '')
this.addButton.setAttribute("hidden", "");

return html`
<div style="width: 100%; text-align: center;">${this.list} ${this.addButton}</div>
Expand Down

0 comments on commit 5024d33

Please sign in to comment.