Fallback for containers with empty data attribute assignment?
Closed this issue · 0 comments
sn3p commented
the container data attribute must be a list, so this breaks if assigns[:data] == nil
:
container(data: assigns[:data])
Instead need to do:
container(data: assigns[:data] || [])
I suggest we use an empty list as fallback by default.