aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Action
diff options
context:
space:
mode:
authorJoris2016-01-03 19:57:59 +0100
committerJoris2016-01-03 19:57:59 +0100
commitd22d10da342520163014dda255d5d9bd5e1a80c0 (patch)
tree02f17aeeab9ec0f95ae8d53017e4e33de347d9d1 /src/client/elm/Model/Action
parenta8309988518af5bddf62d6a326d990fde4069b40 (diff)
Move update income to the account update layer
Diffstat (limited to 'src/client/elm/Model/Action')
-rw-r--r--src/client/elm/Model/Action/AccountAction.elm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/elm/Model/Action/AccountAction.elm b/src/client/elm/Model/Action/AccountAction.elm
index feddbea..520f3ab 100644
--- a/src/client/elm/Model/Action/AccountAction.elm
+++ b/src/client/elm/Model/Action/AccountAction.elm
@@ -7,9 +7,11 @@ import Time exposing (Time)
import Model.User exposing (UserId)
type AccountAction =
- ToggleDetail
+ NoOp
+ | ToggleDetail
| UpdatePayer UserId Time Int
| ToggleIncomeEdition
| UpdateIncomeEdition String
| UpdateEditionError String
| UpdateIncome Time Int
+ | ValidateUpdateIncome Time Int