aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/View/LoggedIn
diff options
context:
space:
mode:
authorJoris2015-12-30 17:01:56 +0100
committerJoris2015-12-30 17:01:56 +0100
commit5bfd349bedb9c395cbeb38bb888e379ba36d5d35 (patch)
tree9af91491aa693967bf66e48c385dbde2f64e3ca4 /src/client/elm/Model/View/LoggedIn
parent73a2f72f07ca2a8c8757bcfd9e8ff37561dcb332 (diff)
downloadbudget-5bfd349bedb9c395cbeb38bb888e379ba36d5d35.tar.gz
budget-5bfd349bedb9c395cbeb38bb888e379ba36d5d35.tar.bz2
budget-5bfd349bedb9c395cbeb38bb888e379ba36d5d35.zip
Minor design modifications
Diffstat (limited to 'src/client/elm/Model/View/LoggedIn')
-rw-r--r--src/client/elm/Model/View/LoggedIn/Add.elm2
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