Commit ab8880a9 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] click on name

parent 4b61d86a
...@@ -318,11 +318,12 @@ nodeLinkCpt = R.hooksComponentWithModule thisModule "nodeLink" cpt ...@@ -318,11 +318,12 @@ nodeLinkCpt = R.hooksComponentWithModule thisModule "nodeLink" cpt
where where
-- 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 -- click on closed -> open
-- click on open -> ?
onClick _ = if isSelected then onClick _ = if isSelected then
setFolderOpen not setFolderOpen (const true)
else else
pure unit setFolderOpen (const true)
tooltipId = "node-link-" <> show id tooltipId = "node-link-" <> show id
-- END node link -- END node link
......
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