aboutsummaryrefslogtreecommitdiff
path: root/src/client/LoggedIn/View.elm
diff options
context:
space:
mode:
authorJoris2017-03-26 23:16:28 +0200
committerJoris2017-03-27 00:17:41 +0200
commit902acfbdbcc1d59941399753e887479e586e2748 (patch)
tree0ad90ead3f8bdf0ea7c94462d1577c8e188df469 /src/client/LoggedIn/View.elm
parent8062f1c9c34e9b25d76b22bd6ba2a1a99666279b (diff)
downloadbudget-902acfbdbcc1d59941399753e887479e586e2748.tar.gz
budget-902acfbdbcc1d59941399753e887479e586e2748.tar.bz2
budget-902acfbdbcc1d59941399753e887479e586e2748.zip
Improve form validation
- Trim names - Income amount accepted from 0 - Validate colors
Diffstat (limited to 'src/client/LoggedIn/View.elm')
-rw-r--r--src/client/LoggedIn/View.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/LoggedIn/View.elm b/src/client/LoggedIn/View.elm
index 2e42a73..ddc85d5 100644
--- a/src/client/LoggedIn/View.elm
+++ b/src/client/LoggedIn/View.elm
@@ -26,8 +26,8 @@ view model loggedIn =
[ let loggedData = LoggedData.build model loggedIn
in case model.page of
Page.Home -> Home.view loggedData loggedIn.home
- Page.Income -> Income.view loggedData loggedIn.income
- Page.Categories -> Categories.view loggedData loggedIn.category
+ Page.Income -> Income.view loggedData
+ Page.Categories -> Categories.view loggedData
Page.Statistics -> Stat.view loggedData
Page.NotFound -> div [] [ text (getMessage model.translations "PageNotFound") ]
]