aboutsummaryrefslogtreecommitdiff
path: root/src/client/LoggedData.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/LoggedData.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/LoggedData.elm')
-rw-r--r--src/client/LoggedData.elm10
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