I am encountering an issue on a page where I display a list of badges, coming from two distinct collections:
- Badge Collection: This collection contains all my badges, with two versions of each badge image: a black-and-white version (for locked badges) and a color version (for unlocked badges).
- Unlocked Badge Collection: This collection is linked to my users and contains the badges that have been unlocked. It allows me to track which badges have been assigned to which users.
What I want is for the badges that have not been unlocked to appear in black and white, and the ones that have been unlocked to appear in color in the list displayed on the page.
However, I am having trouble setting up the conditional display correctly. Currently, I am facing the following issues:
- Even after creating a filter to differentiate unlocked badges (color display) from locked badges (black and white display), the conditional display is not working as expected.
- I am unable to correctly hide or show the color and black-and-white versions of the badges based on their status (locked or unlocked).
I’m seeking your assistance to resolve this conditional display issue.





