Skip to content

Commit

Permalink
iva-app: Fix issue when the last active study is different from the s…
Browse files Browse the repository at this point in the history
…tudy in the URL #TASK-7216 #TASK-7100
  • Loading branch information
jmjuanes committed Nov 27, 2024
1 parent f66ed22 commit 4944991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sites/iva/iva-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ class IvaApp extends LitElement {
if (changedProperties.has("opencgaSession")) {
this.opencgaSessionObserver();
}

super.update(changedProperties);
}

Expand Down Expand Up @@ -706,7 +707,7 @@ class IvaApp extends LitElement {

// 4. parse project and study
if (hashProject !== this.opencgaSession?.project?.id || hashStudy !== this.opencgaSession?.study?.id) {
return this.changeActiveStudy(`${this.opencgaSession.user.id}@${hashProject}:${hashStudy}`);
this.changeActiveStudy(`${this.opencgaSession.user.id}@${hashProject}:${hashStudy}`);
}

// 5. save app and tool
Expand Down

0 comments on commit 4944991

Please sign in to comment.