diff options
| author | Joris | 2015-09-06 00:05:50 +0200 | 
|---|---|---|
| committer | Joris | 2015-09-06 00:05:50 +0200 | 
| commit | 24633871359ec9fbd63fdfebf79a6351b2792f77 (patch) | |
| tree | a87c8a964a3c5114da13e622c604cf99ab905a06 /src/client/Update.elm | |
| parent | 8c328987901973cd0ffd2e03cae547717ebbbc67 (diff) | |
Can add monthly payments, not visible at the moment though, just the count is printed
Diffstat (limited to 'src/client/Update.elm')
| -rw-r--r-- | src/client/Update.elm | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/Update.elm b/src/client/Update.elm index d643d4e..08547e3 100644 --- a/src/client/Update.elm +++ b/src/client/Update.elm @@ -23,7 +23,7 @@ type Action =    | GoSignInView    | SignInError String    | UpdateSignIn SignInAction -  | GoLoggedView Users UserId Payments Int Payers +  | GoLoggedView Users UserId Payments Payments Int Payers    | UpdatePayment PaymentAction  actions : Signal.Mailbox Action @@ -38,8 +38,8 @@ updateModel action model =        { model | currentTime <- time }      GoSignInView ->        { model | view <- V.SignInView initSignInView } -    GoLoggedView users me payments paymentsCount payers -> -      { model | view <- V.LoggedView (initLoggedView users me payments paymentsCount payers) } +    GoLoggedView users me monthlyPayments payments paymentsCount payers -> +      { model | view <- V.LoggedView (initLoggedView users me monthlyPayments payments paymentsCount payers) }      SignInError msg ->        let signInView = { initSignInView | result <- Just (Err msg) }        in  { model | view <- V.SignInView signInView }  | 
