Hello,
I’m currently developing an app for swimming rewards. In the app, users receive badges once they win a reward. I’m encountering a main issues. The badges that users have won are also appearing in the section for unearned badges. When I try to adjust the visibility settings in Adalo, I encounter a problem with conditional logic, leading to an endless loop in the settings. How can I resolve these issue, and why are my visibility settings behaving this way?
In the first list, I’ve already filtered out items to only show those relevant to the “logged-in user.” For the second list, which displays all available badges, I want to adjust the visibility settings so that badges already earned by the user are not displayed a second time.
Ok so this means the relationship might not be the correct type you need. Relationship between users and badges should be many-to-many, and I would name it “users-earned” from the badge side, and “badges-earned” from the user side.
You are going to current badge > users > etc, but you should already have the option of current badge > ‘users-earned’