[graph] fix term count for sidebar

It was reduced by 1 because the currently selected term was also
counted. Now the algorithm changed, so we don't need to subtract 1
anymore.
parent d1823106
Pipeline #7854 passed with stages
in 21 minutes and 7 seconds
......@@ -516,7 +516,7 @@ neighborhoodCpt = R.memo' $ here.component "neighborhood" cpt
let neighbours' = SigmaxT.neighborsSortedByEdgeWeight graph' selectedNodeIds'
let count = A.length neighbours'
T.write_ (count - 1) termCountBox
T.write_ count termCountBox
T.write_ neighbours' termListBox
T.write_ false showMoreBox
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment