DekodeInteraktiv / hogan-grid

Card grid module for Hogan
GNU General Public License v3.0
0 stars 0 forks source link

Allow bool in `structure_card_data` and return array #36

Closed walbo closed 6 years ago

walbo commented 6 years ago

If you insert a grid module without any cards flex_grid value is a bool. We need to remove the type hint on the structure_card_data function to allow both array and bool

Also return a empty array if no data.

image