From 2acff616e400c13ec79be6e0ccccbc9906db6ffb Mon Sep 17 00:00:00 2001 From: Maxwell Zimon Date: Sun, 5 Apr 2020 11:41:23 -0500 Subject: [PATCH] #915: using triple equals --- src/components/tree/phyloTree/labels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tree/phyloTree/labels.js b/src/components/tree/phyloTree/labels.js index 4e6e90437..d92918064 100644 --- a/src/components/tree/phyloTree/labels.js +++ b/src/components/tree/phyloTree/labels.js @@ -14,7 +14,7 @@ export const updateTipLabels = function updateTipLabels(dt) { const inViewTerminalNodes = this.nodes .filter((d) => d.terminal) .filter((d) => d.inView) - .filter((d) => d.visibility == NODE_VISIBLE); + .filter((d) => d.visibility === NODE_VISIBLE); // console.log(`there are ${inViewTerminalNodes.length} nodes in view`)