#Add row in a table conditionally
2 messages · Page 1 of 1 (latest)
you can do ..if condition { ([content],) }. you need an array to spread the content. the else case can be skipped because it's none by default and none is spreadable, too.
2 messages · Page 1 of 1 (latest)
Hi, how can i add a row to a table conditionally? If I use if {[content]} else {none}, an empty cell is added.
Thanks!
you can do ..if condition { ([content],) }. you need an array to spread the content. the else case can be skipped because it's none by default and none is spreadable, too.