From c5ce3707c88cb14c2fe878eedf5464c824e9e366 Mon Sep 17 00:00:00 2001 From: ecrupper Date: Fri, 27 Oct 2023 11:00:11 -0500 Subject: [PATCH] format --- src/elm/Pages/Hooks.elm | 4 ++-- src/elm/SvgBuilder.elm | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/elm/Pages/Hooks.elm b/src/elm/Pages/Hooks.elm index b3c3043d8..950651916 100644 --- a/src/elm/Pages/Hooks.elm +++ b/src/elm/Pages/Hooks.elm @@ -210,7 +210,7 @@ renderHookError hook = |> Array.toList |> List.filterMap identity - msgRow = + msgRow = case hook.status of "skipped" -> tr [ class "skipped-data", Util.testAttribute "hooks-skipped" ] @@ -219,6 +219,7 @@ renderHookError hook = lines ] ] + _ -> tr [ class "error-data", Util.testAttribute "hooks-error" ] [ td [ attribute "colspan" "6" ] @@ -226,7 +227,6 @@ renderHookError hook = lines ] ] - in msgRow diff --git a/src/elm/SvgBuilder.elm b/src/elm/SvgBuilder.elm index d8f16752e..367ddf9b5 100644 --- a/src/elm/SvgBuilder.elm +++ b/src/elm/SvgBuilder.elm @@ -322,6 +322,7 @@ hookSuccess = , Svg.path [ attribute "vector-effect" "non-scaling-stroke", d "M43 22v16.333A4.668 4.668 0 0138.333 43H5.667A4.668 4.668 0 011 38.333V5.667A4.668 4.668 0 015.667 1h25.666" ] [] ] + {-| hookSkipped: produces the svg for the hook status skipped -} hookSkipped : Html msg