Commit 7d4da0dd authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FIX] GraphExplorer tab badges + footer

parent 6074c87e
...@@ -345,6 +345,6 @@ footerCpt = R2.hooksComponent thisModule "footer" cpt ...@@ -345,6 +345,6 @@ footerCpt = R2.hooksComponent thisModule "footer" cpt
pure $ H.div pure $ H.div
{ className: "container" } { className: "container" }
[ H.hr {} [ H.hr {}
, H.footer {} [ license ] , H.footer {} []
] ]
...@@ -103,7 +103,14 @@ sideTab (Opened SideTabData) props = ...@@ -103,7 +103,14 @@ sideTab (Opened SideTabData) props =
[ removeButton "Move as candidate" CandidateTerm props nodesMap [ removeButton "Move as candidate" CandidateTerm props nodesMap
, removeButton "Move as stop" StopTerm props nodesMap , removeButton "Move as stop" StopTerm props nodesMap
] ]
]
]
]
, RH.div { className: "tab-content", id: "myTabContent" }
[ RH.div { className: "", id: "home", role: "tabpanel" }
(Seq.toUnfoldable $ Seq.map (badge props.selectedNodeIds)
$ neighbourBadges props.graph props.selectedNodeIds
)
] ]
, RH.div { className: "col-md-12", id: "query" } , RH.div { className: "col-md-12", id: "query" }
...@@ -115,12 +122,6 @@ sideTab (Opened SideTabData) props = ...@@ -115,12 +122,6 @@ sideTab (Opened SideTabData) props =
props.selectedNodeIds props.selectedNodeIds
] ]
] ]
]
, RH.div { className: "tab-content", id: "myTabContent" }
[ RH.div { className: "", id: "home", role: "tabpanel" }
(Seq.toUnfoldable $ (Seq.map (badge props.selectedNodeIds) (neighbourBadges props.graph props.selectedNodeIds)))
]
]
where where
nodesMap = SigmaxT.nodesGraphMap props.graph nodesMap = SigmaxT.nodesGraphMap props.graph
......
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