Commit 9fe7f7e4 authored by Karen Konou's avatar Karen Konou

[Tree] UI for pinning

parent b1f181e8
......@@ -304,7 +304,7 @@ nodeSpanCpt = here.component "nodeSpan" cpt
} []
,
R2.when (showBox) $
R.fragment [
B.iconButton
{ name: "flower-7"
, className: "mainleaf__settings-icon"
......@@ -315,6 +315,16 @@ nodeSpanCpt = here.component "nodeSpan" cpt
, variant: Secondary
, elevation: Level1
}
,
B.iconButton
{ name: "anchor"
, className: "mainleaf__settings-icon"
, callback: \_ -> pure unit
, title: "Pin the tree to this node"
, variant: Secondary
, elevation: Level1
}
]
,
R.fragment $ flip map currentTasks' \task ->
......
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