Commit 31a48770 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[tree] fix undefined folderOpen

parent e9e44dff
...@@ -317,7 +317,7 @@ nodeLinkCpt = R.hooksComponentWithModule thisModule "nodeLink" cpt ...@@ -317,7 +317,7 @@ nodeLinkCpt = R.hooksComponentWithModule thisModule "nodeLink" cpt
-- NOTE Don't toggle tree if it is not selected -- NOTE Don't toggle tree if it is not selected
-- This prevents some irritating behaviour -- This prevents some irritating behaviour
onClick _ = if isSelected then onClick _ = if isSelected then
snd folderOpen not setFolderOpen not
else else
pure unit pure unit
tooltipId = "node-link-" <> show id tooltipId = "node-link-" <> show id
......
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