summaryrefslogtreecommitdiff
path: root/elm/User
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-09-30 18:27:10 +0200
committerYorhel <git@yorhel.nl>2019-09-30 18:27:10 +0200
commit0ee5f7e30f9ba10fdd870117d410c80f3e0a6c4a (patch)
tree5d815131a4ce4d484cf9ae967cac9fc319ed27ed /elm/User
parent2d7e855cfb37f35cb2cd0f8f39754002c20c8a7c (diff)
Fixups: Build nested Elm modules in prod + only show help message on error
Diffstat (limited to 'elm/User')
-rw-r--r--elm/User/Login.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/User/Login.elm b/elm/User/Login.elm
index aba1f88d..6a35f690 100644
--- a/elm/User/Login.elm
+++ b/elm/User/Login.elm
@@ -115,7 +115,7 @@ view model =
, td [ class "field" ] [ a [ href "/u/newpass" ] [ text "Forgot your password?" ] ]
]
]
- , if model.state == Api.Normal
+ , if model.state == Api.Normal || model.state == Api.Loading
then text ""
else div [ class "notice" ]
[ h2 [] [ text "Trouble logging in?" ]