Commit 550de033 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[SPEC] #301 Visio open link a new table

parent 98477aa6
Pipeline #2429 failed with stage
...@@ -14,7 +14,7 @@ import Gargantext.Components.Forest.Tree.Node.Action.Types (Action) ...@@ -14,7 +14,7 @@ import Gargantext.Components.Forest.Tree.Node.Action.Types (Action)
import Gargantext.Components.GraphExplorer.Types (mCameraP) import Gargantext.Components.GraphExplorer.Types (mCameraP)
import Gargantext.Components.InputWithEnter (inputWithEnter) import Gargantext.Components.InputWithEnter (inputWithEnter)
import Gargantext.Ends (Frontends, url) import Gargantext.Ends (Frontends, url)
import Gargantext.Prelude (class Ord, class Read, class Show, Unit, bind, const, discard, map, not, pure, read, show, when, mempty, ($), (<), (<<<), (<>), (<$>), (<*>)) import Gargantext.Prelude (class Ord, class Read, class Show, Unit, bind, const, discard, map, not, pure, read, show, when, mempty, ($), (<), (<<<), (<>), (<$>), (<*>), (/=))
import Gargantext.Sessions (Session, sessionId) import Gargantext.Sessions (Session, sessionId)
import Gargantext.Types as GT import Gargantext.Types as GT
import Gargantext.Utils (toggleSet, (?)) import Gargantext.Utils (toggleSet, (?))
...@@ -306,7 +306,9 @@ nodeLinkCpt = here.component "nodeLink" cpt ...@@ -306,7 +306,9 @@ nodeLinkCpt = here.component "nodeLink" cpt
-- click on closed -> open -- click on closed -> open
-- click on open -> ? -- click on open -> ?
click _ = when (not isSelected) (T.write_ true folderOpen) click _ = when (not isSelected) (T.write_ true folderOpen)
href = url frontends $ GT.NodePath (sessionId session) nodeType (Just id) href = if nodeType /= GT.NodeFrameVisio
then url frontends $ GT.NodePath (sessionId session) nodeType (Just id)
else "Execute here action to get the Frame Visio and open it in a new table?"
-- END node link -- END node link
type NodeTextProps = type NodeTextProps =
......
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