I have 2 conditionals on a button (first screenshot) to change its display depending on whether the current user has marked the corresponding lesson as completed, but they don’t always work.
Second screenshot is from the database, and as you can see one of the lessons is marked as complete.
In the third screenshot you can see that the button hasn’t changed. Now if I refresh, the button will be displayed correctly (fourth screenshot).
Any idea what could be causing this?