diff options
author | Joris | 2017-04-02 17:51:12 +0200 |
---|---|---|
committer | Joris | 2017-04-02 21:07:08 +0200 |
commit | 5c110716cfda6e616a795edd12f2012b132dca9f (patch) | |
tree | 71c3d04780302edf0648bec1cd914757cdbb2883 /src/client/LoggedData.elm | |
parent | 64ff4707fdcd81c27c6be9903c3c82bc543ef016 (diff) |
Add a chart on payments by month by categories
Diffstat (limited to 'src/client/LoggedData.elm')
-rw-r--r-- | src/client/LoggedData.elm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/LoggedData.elm b/src/client/LoggedData.elm index 9bb0a7f..e048247 100644 --- a/src/client/LoggedData.elm +++ b/src/client/LoggedData.elm @@ -30,11 +30,11 @@ type alias LoggedData = , paymentCategories : PaymentCategories } -build : Model -> LoggedInModel.Model -> LoggedData -build model loggedIn = - { currentTime = model.currentTime - , translations = model.translations - , conf = model.conf +build : Time -> Translations -> Conf -> LoggedInModel.Model -> LoggedData +build currentTime translations conf loggedIn = + { currentTime = currentTime + , translations = translations + , conf = conf , users = loggedIn.users , me = loggedIn.me , payments = loggedIn.payments |