Commit 1840cd2c authored by Camil Staps's avatar Camil Staps 🚀

Merge branch 'cleanup' into 'master'

fix/cleanup leftovers from 92a7de46

See merge request !443
parents d1454313 5e118a5c
Pipeline #44233 passed with stage
in 8 minutes and 41 seconds
...@@ -668,10 +668,6 @@ ...@@ -668,10 +668,6 @@
border-width: 0; border-width: 0;
} }
.itasks-hidden {
display: none;
}
.itasks-scroll-content { .itasks-scroll-content {
min-height: var(--flex-min-height); min-height: var(--flex-min-height);
} }
...@@ -153,11 +153,11 @@ where ...@@ -153,11 +153,11 @@ where
] ]
= (Ok (uia type attr, (mbVal, attr)), vst) = (Ok (uia type attr, (mbVal, attr)), vst)
onEdit _ (_, mbVal) (_, attrs) vst = (Ok (ChangeUI [SetAttribute "value" valJSON] [], (mbVal`, attrs)), vst) onEdit _ (_, mbVal) (_, attrs) vst = (Ok (NoChange, (mbVal`, attrs)), vst)
where where
(mbVal`, valJSON) = case mbVal of mbVal` = case mbVal of
Just val | isValid attrs val = (Just val, toJSON val) Just val | isValid attrs val = Just val
_ = (Nothing, JSONNull) _ = Nothing
onRefresh toJSON dp new (mbOld, attrs) vst onRefresh toJSON dp new (mbOld, attrs) vst
| mbOld === Just new = (Ok (NoChange, (mbOld, attrs)), vst) | mbOld === Just new = (Ok (NoChange, (mbOld, attrs)), vst)
......
...@@ -256,7 +256,7 @@ workOnChosenTaskWithSharedChoice choiceOption sharedChoice options = ...@@ -256,7 +256,7 @@ workOnChosenTaskWithSharedChoice choiceOption sharedChoice options =
(SelectByDepth 1) (SelectByDepth 1)
(SelectByAttribute "visible" $ \val -> val =: (JSONBool False)) (SelectByAttribute "visible" $ \val -> val =: (JSONBool False))
) )
(addCSSClass "itasks-hidden") hideUI
) )
) )
-&&- -&&-
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment