fix journeys path counts bug
This commit is contained in:
@@ -41,9 +41,7 @@ export default function JourneyView() {
|
|||||||
const active = selected && !!activePaths.find(path => path.items[columnIndex] === name);
|
const active = selected && !!activePaths.find(path => path.items[columnIndex] === name);
|
||||||
|
|
||||||
if (!nodes[name]) {
|
if (!nodes[name]) {
|
||||||
const paths = data.filter((d, i) => {
|
const paths = data.filter(d => d.items[columnIndex] === name);
|
||||||
return i !== columnIndex && d.items[columnIndex] === name;
|
|
||||||
});
|
|
||||||
|
|
||||||
const from =
|
const from =
|
||||||
columnIndex > 0 &&
|
columnIndex > 0 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user