diff options
author | Joris | 2016-03-28 18:04:25 +0200 |
---|---|---|
committer | Joris | 2016-03-28 18:04:25 +0200 |
commit | cc58377a48d13ef85cedb5ec0e19eb8b879dd497 (patch) | |
tree | 8a400e8e208f9ca7a94a3dad054bdad2b4a04b0f /src/client/elm/LoggedIn/Home/Model.elm | |
parent | 166cd04e4b28770ede854dafc9ae30eae64102fe (diff) |
Compute payment count client side
Diffstat (limited to 'src/client/elm/LoggedIn/Home/Model.elm')
-rw-r--r-- | src/client/elm/LoggedIn/Home/Model.elm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/elm/LoggedIn/Home/Model.elm b/src/client/elm/LoggedIn/Home/Model.elm index 14ab86c..f8d24f5 100644 --- a/src/client/elm/LoggedIn/Home/Model.elm +++ b/src/client/elm/LoggedIn/Home/Model.elm @@ -14,12 +14,11 @@ import LoggedIn.Home.AddPayment.Model as AddPaymentModel import LoggedIn.Home.Monthly.Model as MonthlyModel type alias Model = - { users : Users - , add : AddPaymentModel.Model + { add : AddPaymentModel.Model , monthly : MonthlyModel.Model , account : AccountModel.Model + , users : Users , payments : Payments - , paymentsCount : Int , paymentEdition : Maybe PaymentId , currentPage : Int } @@ -31,7 +30,6 @@ init initData = , monthly = MonthlyModel.init initData.monthlyPayments , account = AccountModel.init initData.me initData.incomes , payments = initData.payments - , paymentsCount = initData.paymentsCount , paymentEdition = Nothing , currentPage = 1 } |