From ccc610b898af854947c75fbfb9de3c737f1673bd Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Thu, 11 Apr 2019 13:07:37 -0700 Subject: [PATCH] :skull: remove the sliding out footer --- src/Nri/Ui/SlideModal/V2.elm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Nri/Ui/SlideModal/V2.elm b/src/Nri/Ui/SlideModal/V2.elm index db3ca7fb..f498a04b 100644 --- a/src/Nri/Ui/SlideModal/V2.elm +++ b/src/Nri/Ui/SlideModal/V2.elm @@ -127,7 +127,7 @@ summarize panels current = viewModal : Config msg -> State -> Summary -> Html msg -viewModal config ((State { previousPanel }) as state) summary = +viewModal config (State { previousPanel }) summary = let currentPanel = [ viewIcon summary.current.icon @@ -161,15 +161,8 @@ viewModal config ((State { previousPanel }) as state) summary = [ span [ Html.Styled.Attributes.id (panelId panelView) ] [ Html.text panelView.title ] ] , viewContent panelView.content - , viewFlexibleFooter - { buttonLabel = panelView.buttonLabel - , buttonMsg = () - , buttonState = Button.Disabled - } - [ InactiveDisabled () "" ] ] ) - |> Tuple.mapSecond (Html.map (\_ -> config.parentMsg state)) , ( panelId summary.current , panelContainer config.height [ Slide.animateIn direction ] currentPanel )