Skip to content

Commit

Permalink
Merge pull request #456 from broadinstitute/dk-rp-2023-jan
Browse files Browse the repository at this point in the history
Added 'state' information to hover contents of annotations track and …
  • Loading branch information
dkjang authored Jan 17, 2023
2 parents e9176a7 + ab3d7d1 commit f13f9d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/researchPortal/ResearchAnnotationsPlotV2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,9 @@ export default Vue.component("research-annotations-plot-v2", {
"<br />" +
regionValue.start +
"-" +
regionValue.end;
regionValue.end +
"<br />State: " +
regionValue.state;
}
}
}
Expand Down Expand Up @@ -1856,6 +1858,7 @@ export default Vue.component("research-annotations-plot-v2", {
] = {
start: p.start,
end: p.end,
state: p.state,
};
}
});
Expand Down
4 changes: 4 additions & 0 deletions src/components/researchPortal/ResearchBiosamplePlot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,9 @@ export default Vue.component("research-biosamples-plot", {
"<br />" +
"method: " +
regionValue.method +
"<br />" +
"state: " +
regionValue.state +
"<br />";
}
}
Expand Down Expand Up @@ -1628,6 +1631,7 @@ export default Vue.component("research-biosamples-plot", {
dataset: p.dataset,
method: p.method,
source: p.source,
state: p.state,
};
}
});
Expand Down

0 comments on commit f13f9d9

Please sign in to comment.