aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/View
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/View')
-rw-r--r--src/client/elm/View/Header.elm9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/client/elm/View/Header.elm b/src/client/elm/View/Header.elm
index 5a37d9b..fb0e880 100644
--- a/src/client/elm/View/Header.elm
+++ b/src/client/elm/View/Header.elm
@@ -25,17 +25,14 @@ renderHeader address model =
[]
[ a
( [ class "title" ] ++ clickTo Home)
- [ h1
- []
- [ text (getMessage "SharedCost" model.translations) ]
- ]
+ [ text (getMessage "SharedCost" model.translations) ]
, case model.view of
- LoggedInView { home } ->
+ LoggedInView { me, users } ->
div
[ class "signedPanel" ]
[ a
( [ class "user" ] ++ clickTo User)
- [ Dict.get home.account.me home.users
+ [ Dict.get me users
|> Maybe.map .name
|> Maybe.withDefault ""
|> text