diff --git a/CHANGELOG.md b/CHANGELOG.md index 1be15ddfd..64ee823ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog * Fix bug where drag-and-drop metadata columns were no longer included as tip labels ([#1845](https://github.com/nextstrain/auspice/pull/1845)) +* Fixed a bug where internal node names were sometimes omitted from the branch info modal (arrived at via shift-clicking on a branch). + They are now always displayed irrespective of the selected tip label. + ([#1849](https://github.com/nextstrain/auspice/pull/1849)) ## version 2.57.0 - 2024/08/30 diff --git a/src/components/tree/infoPanels/click.js b/src/components/tree/infoPanels/click.js index e03ffb4a8..8a4234999 100644 --- a/src/components/tree/infoPanels/click.js +++ b/src/components/tree/infoPanels/click.js @@ -259,7 +259,7 @@ const NodeClickedPanel = ({selectedNode, nodesLhsTree, nodesRhsTree, clearSelect * vs clicking on the tip (circle) itself */ const isTerminal = !node.hasChildren; const isTip = !selectedNode.isBranch; - const shouldShowNodeName = tipLabelKey!==strainSymbol; + const shouldShowNodeName = tipLabelKey!==strainSymbol || !isTerminal; return (