Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
ab8880a9
Commit
ab8880a9
authored
Dec 07, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] click on name
parent
4b61d86a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Tools.purs
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
+4
-3
No files found.
src/Gargantext/Components/Forest/Tree/Node/Tools.purs
View file @
ab8880a9
...
...
@@ -318,11 +318,12 @@ nodeLinkCpt = R.hooksComponentWithModule thisModule "nodeLink" cpt
where
-- 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
setFolderOpen
not
setFolderOpen
(const true)
else
pure unit
setFolderOpen (const true)
tooltipId = "node-link-" <> show id
-- END node link
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment