Skip to content

Commit

Permalink
wc: fix reading user projects #TASK-5271
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Nov 16, 2023
1 parent 0b59e47 commit 990c233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webcomponents/commons/layouts/custom-welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default class CustomWelcome extends LitElement {
render() {
const welcomePage = this.getWelcomePageConfig();

if (!UtilsNew.isNotEmptyArray(this.opencgaSession.projects) ||
if (!UtilsNew.isNotEmptyArray(this.opencgaSession?.projects) ||
this.opencgaSession.projects.every(p => !UtilsNew.isNotEmptyArray(p.studies))) {
return html`
<div class="guard-page">
Expand Down

0 comments on commit 990c233

Please sign in to comment.