Skip to content

Commit

Permalink
wc: minor code style changes in catalog search autocomplete #TASK-5341
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Jan 9, 2024
1 parent 24d48dc commit ec68d9f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,14 @@ export default class CatalogSearchAutocomplete extends LitElement {
if (changedProperties.has("opencgaSession")) {
this.opencgaSessionObserver();
}

if (changedProperties.has("config")) {
this._config = {...this.getDefaultConfig(), ...this.config};
this._config = {
...this.getDefaultConfig(),
...this.config,
};
}

super.update(changedProperties);
}

Expand Down

0 comments on commit ec68d9f

Please sign in to comment.