Skip to content

Commit

Permalink
Merge pull request #65 from bcgsc/bugfix/KBDEV-1143-ensembl-loader-no…
Browse files Browse the repository at this point in the history
…t-show-displayName-correctly

Bugfix/KBDEV-1143: Ensembl loader not show displayName correctly
  • Loading branch information
sshugsc committed Dec 13, 2023
2 parents af3e76e + e5935f2 commit 1339729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/repo/commands/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ const fetchDisplayName = async (db, modelName, content) => {
subject: recordsById[recId(content.subject)],
};
return sentenceTemplates.chooseDefaultTemplate(templateContent);
} if (model.name === 'Feature' && content.displayName) {
return content.displayName;
}
return content.name;
};
Expand Down

0 comments on commit 1339729

Please sign in to comment.