Skip to content

Commit

Permalink
Merge pull request #833 from opencb/TASK-5296
Browse files Browse the repository at this point in the history
TASK-5296 - RD tiering form is displayed blank after portpatch 1.6.6 ->1.10.1
  • Loading branch information
jmjuanes authored Nov 27, 2023
2 parents 76f5460 + 65ee35a commit 9de0930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webcomponents/clinical/analysis/rd-tiering-analysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class RdTieringAnalysis extends LitElement {
// Get the list of disease panels for the dropdown
let diseasePanels = [];
if (casePanelLock) {
for (const panelId of panels.split(",")) {
for (const panelId of (panels || "").split(",")) {
const diseasePanel = this.opencgaSession.study?.panels?.find(p => p.id === panelId);
if (diseasePanel) {
diseasePanels.push(diseasePanel);
Expand All @@ -177,7 +177,7 @@ export default class RdTieringAnalysis extends LitElement {
return html`
<select-field-filter
.data="${diseasePanels}"
.value=${panels}
.value=${panels || ""}
.liveSearch=${diseasePanels?.length > 5}
.multiple="${true}"
.disabled="${casePanelLock}"
Expand Down

0 comments on commit 9de0930

Please sign in to comment.