Commit 99e0d5dd authored by Fabien Maniere's avatar Fabien Maniere

by default, display the active class on Documentation

parent 84be6407
Pipeline #7450 passed with stages
in 22 minutes and 42 seconds
...@@ -307,11 +307,12 @@ buttonClickCpt = here.component "buttonClick" cpt ...@@ -307,11 +307,12 @@ buttonClickCpt = here.component "buttonClick" cpt
[ B.iconButton [ B.iconButton
{ className: intercalate " " { className: intercalate " "
[ "popup-container__cta__button" [ "popup-container__cta__button"
, action == Just todo ? "popup-container__cta__button--active" $ "" , if action == Just todo || (action == Nothing && todo == Documentation nodeType) then "popup-container__cta__button--active" else ""
] ]
, name: glyphiconNodeAction todo , name: glyphiconNodeAction todo
, title: show todo , title: show todo
, callback: action == Just todo ? pure $ click , callback: click
-- , callback: action == Just todo ? pure $ click
, elevation: Level2 , elevation: Level2
-- , status: action == Just todo ? -- , status: action == Just todo ?
-- Disabled $ -- Disabled $
......
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