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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
3b60b4ef
Commit
3b60b4ef
authored
Jan 12, 2021
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tree] small forest refactor
parent
ef97d9af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
Forest.purs
src/Gargantext/Components/Forest.purs
+12
-12
No files found.
src/Gargantext/Components/Forest.purs
View file @
3b60b4ef
...
...
@@ -74,7 +74,7 @@ forest = R.createElement forestCpt
)
(cpt' openNodes asyncTasks appReload reload showLogin backend)
cpt' openNodes asyncTasks appReload reload showLogin backend (frontends /\ currentRoute /\ sessions /\ _ /\ _ /\ _ /\ _ /\ handed) = do
pure $ R2.row $ [
plus handed showLogin backend
] <> trees
pure $ R2.row $ [
plus handed showLogin backend
] <> trees
where
trees = tree <$> unSessions sessions
tree s@(Session {treeId}) =
...
...
@@ -91,9 +91,9 @@ forest = R.createElement forestCpt
plus :: Handed -> R.Setter Boolean -> R.State (Maybe Backend) -> R.Element
plus handed showLogin backend = H.div { className: handedClass } [
H.button {
title: "Add or remove connections to the server(s).
"
H.button {
className: "btn btn-default
"
, on: {click}
,
className: "btn btn-default
"
,
title: "Add or remove connections to the server(s).
"
}
[ H.div { "type": ""
, className: "fa fa-universal-access fa-lg"
...
...
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