openknowledgebe / website

Open Knowledge Belgium website
https://openknowledge.be
MIT License
4 stars 0 forks source link

Removing an item from featured activities or featured stories list causes an error #44

Open auloin opened 3 years ago

auloin commented 3 years ago

The error, TypeError: Expected iterable or array-like: null, only happens when you add and remove the added item without choosing an activity or a story.

Simple workaround is to always choose something and then remove the item since it doesn't crash in production.

I'm not sure yet if this due to something I'm doing or if it's something at the CMS level...