aboutsummaryrefslogtreecommitdiff
path: root/client/src/Component/Input.hs
diff options
context:
space:
mode:
authorJoris2020-01-04 19:22:45 +0100
committerJoris2020-01-04 19:22:45 +0100
commitda2a0c13aa89705c65fdb9df2f496fb4eea29654 (patch)
tree760e267f0215349af1d5e7c10c84a04bcb5bc75c /client/src/Component/Input.hs
parent1dfb85d3fd56d163fc854a8b3cf659d0ac39f639 (diff)
downloadbudget-da2a0c13aa89705c65fdb9df2f496fb4eea29654.tar.gz
budget-da2a0c13aa89705c65fdb9df2f496fb4eea29654.tar.bz2
budget-da2a0c13aa89705c65fdb9df2f496fb4eea29654.zip
Allow to remove only unused categories
Diffstat (limited to 'client/src/Component/Input.hs')
-rw-r--r--client/src/Component/Input.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/Component/Input.hs b/client/src/Component/Input.hs
index 37020da..bcff377 100644
--- a/client/src/Component/Input.hs
+++ b/client/src/Component/Input.hs
@@ -57,7 +57,7 @@ view input reset validate = do
]
inputAttr = R.ffor value (\v ->
- if T.null v && _in_inputType input /= "date"
+ if T.null v && _in_inputType input /= "date" && _in_inputType input /= "color"
then M.empty
else M.singleton "class" "filled")