[Sprint/HipsterHedgehog](bug): Stopping banned users from showing in sidebar
Closes https://gitlab.com/minds/engine/issues/381
I also thought the component should have some test coverage.
0/1 discussion resolved
43 43 }); 44 44 for (let suggestion of response.suggestions) { 45 45 const removed = this.storage.get(`user:suggestion:${suggestion.entity_guid}:removed`); 46 if (!removed) { 46 if (!removed && suggestion.banned !== "yes") { - Maintainer
I keep seeing these "yes" in the code base which makes we wonder why they aren't bools. Not a change you need to make, but I will ask about it, because it feels like we're asking for trouble.
approved this merge request