diff --git a/modules/webapp/src/main/elm/App/View2.elm b/modules/webapp/src/main/elm/App/View2.elm index c339ac8f..00c807b6 100644 --- a/modules/webapp/src/main/elm/App/View2.elm +++ b/modules/webapp/src/main/elm/App/View2.elm @@ -36,7 +36,11 @@ topNavbar : Model -> Html Msg topNavbar model = case model.flags.account of Just acc -> - topNavUser acc model + if acc.success then + topNavUser acc model + + else + topNavAnon model Nothing -> topNavAnon model