clarkwinkelmann/flarum-ext-circle-groups

UI crash on suspended users

GiacoR opened this issue · 1 comments

When there is a suspended user in a discussion, badges[0].props.style is undefined in extension.js, L. 36. This crashes the whole UI from that point on.

This might also be a problem in main.js, L. 23.

To reproduce just suspend a user and look at his discussions, posts or profile.

Thanks for the report, didn't know my extension was used at all 😋

I made a fix and tagged version 0.1.0-beta.2 You should be able to get it via Composer https://packagist.org/packages/clarkwinkelmann/flarum-ext-circle-groups