aboutsummaryrefslogtreecommitdiff
path: root/src/client/LoggedIn/View.elm
diff options
context:
space:
mode:
authorJoris2017-04-02 17:51:12 +0200
committerJoris2017-04-02 21:07:08 +0200
commit5c110716cfda6e616a795edd12f2012b132dca9f (patch)
tree71c3d04780302edf0648bec1cd914757cdbb2883 /src/client/LoggedIn/View.elm
parent64ff4707fdcd81c27c6be9903c3c82bc543ef016 (diff)
downloadbudget-5c110716cfda6e616a795edd12f2012b132dca9f.tar.gz
budget-5c110716cfda6e616a795edd12f2012b132dca9f.tar.bz2
budget-5c110716cfda6e616a795edd12f2012b132dca9f.zip
Add a chart on payments by month by categories
Diffstat (limited to 'src/client/LoggedIn/View.elm')
-rw-r--r--src/client/LoggedIn/View.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/LoggedIn/View.elm b/src/client/LoggedIn/View.elm
index ddc85d5..4936c6e 100644
--- a/src/client/LoggedIn/View.elm
+++ b/src/client/LoggedIn/View.elm
@@ -23,11 +23,11 @@ view : Model -> LoggedInModel.Model -> Html Msg
view model loggedIn =
div
[ class "loggedIn" ]
- [ let loggedData = LoggedData.build model loggedIn
+ [ let loggedData = LoggedData.build model.currentTime model.translations model.conf loggedIn
in case model.page of
Page.Home -> Home.view loggedData loggedIn.home
Page.Income -> Income.view loggedData
Page.Categories -> Categories.view loggedData
- Page.Statistics -> Stat.view loggedData
+ Page.Statistics -> Stat.view loggedData loggedIn.stat
Page.NotFound -> div [] [ text (getMessage model.translations "PageNotFound") ]
]