Skip to content

Commit

Permalink
Merge branch 'master' into issues/378-highlightable-region-description
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak authored Dec 11, 2023
2 parents b86e61a + bc8040f commit d63954e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/HeaderForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const CLEAR_STATE = {
// one entry in each array per region.
regionInfo: {},

pathNames: ["none"],
pathNames: [],

tracks: {},
bedFile: undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/components/RegionInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const RegionInput = ({
if (regionInfo && !isEmpty(regionInfo)) {
// Stitch path name + region start and end
for (const [index, path] of regionInfo["chr"].entries()) {
const pathWithRegion = path + ":" + regionInfo.start[index] + "-" + regionInfo.end[index]
const pathWithRegion = path + ":" + regionInfo.start[index] + "-" + regionInfo.end[index];
pathsWithRegion.push({
label: pathWithRegion + " " + regionInfo.desc[index],
value: pathWithRegion
Expand Down

0 comments on commit d63954e

Please sign in to comment.