diff --git a/src/webcomponents/commons/layout/layout-primary-bar.js b/src/webcomponents/commons/layout/layout-primary-bar.js index 59c6200c0..f1779283d 100644 --- a/src/webcomponents/commons/layout/layout-primary-bar.js +++ b/src/webcomponents/commons/layout/layout-primary-bar.js @@ -60,9 +60,10 @@ export default class LayoutPrimaryBar extends LitElement { renderStudiesDropdown() { if (this.opencgaSession?.projects?.length > 0) { // Note: in the study selection we only display projects with at least one study - const visibleProjects = this.opencgaSession.projects.filter(project => { - return project?.studies?.length > 0; - }); + const visibleProjects = this.opencgaSession.projects + .filter(project => { + return project?.studies?.length > 0; + }); return html`