You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if you want to show something if it is set and nothing if not you have to write this:
(if*something.get(){view!{ cx,"Enabled"}}else{view!{ cx,}})
``
You want to write just this without the else case:
```rs
(if*something.get(){view!{ cx,"Enabled"}})
``
The text was updated successfully, but these errors were encountered:
johan-smits
changed the title
Simplify if else in view
Simplify if only in view
Feb 10, 2023
Currently if you want to show something if it is set and nothing if not you have to write this:
The text was updated successfully, but these errors were encountered: