diff options
author | Joris | 2015-12-30 17:01:56 +0100 |
---|---|---|
committer | Joris | 2015-12-30 17:01:56 +0100 |
commit | 5bfd349bedb9c395cbeb38bb888e379ba36d5d35 (patch) | |
tree | 9af91491aa693967bf66e48c385dbde2f64e3ca4 /src/client/elm/Model | |
parent | 73a2f72f07ca2a8c8757bcfd9e8ff37561dcb332 (diff) |
Minor design modifications
Diffstat (limited to 'src/client/elm/Model')
-rw-r--r-- | src/client/elm/Model/View/LoggedIn/Add.elm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/elm/Model/View/LoggedIn/Add.elm b/src/client/elm/Model/View/LoggedIn/Add.elm index 5598084..c25c640 100644 --- a/src/client/elm/Model/View/LoggedIn/Add.elm +++ b/src/client/elm/Model/View/LoggedIn/Add.elm @@ -38,6 +38,6 @@ validateCost : String -> Translations -> Result String Int validateCost cost translations = cost |> validateNonEmpty (getMessage "CostRequired" translations) - |> flip Result.andThen (validateNumber (getMessage "CostMustBeNonNullNumber" translations) ((/=) 0)) + |> flip Result.andThen (validateNumber (getMessage "CostRequired" translations) ((/=) 0)) type Frequency = Punctual | Monthly |