appwrite / appwrite/console

🐛 Bug Report: Leave Organization Confirmation Modal Not Dismissed

Open
#936 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Svelte
Stars
393
Forks
260
Avg merge
6h 53m
Merged PRs (30d)
24

Description

### 👟 Reproduction steps

Pre-requisites:
1. Org. should be on a paid plan with Payment Details added.
2. You must be the real (admin) owner of the Org.

---
1. Go to Org. > Member
2. Try to delete yourself from the organization
3. Confirmation modal shows up > Click Leave
4. Leaving the organization fails with an error -
```text
Membership deletion is prohibited when you have an active payment method. Please remove your payment method and try again.
```
5. This error is shown **behind** the Confirmation Modal

---

See -

Modal Not Dismissed

### 👍 Expected behavior

Dismiss the confirmation modal.

### 👎 Actual Behavior

Confirmation modal not dismissed.

### 🎲 Appwrite version

Appwrite Cloud

### 💻 Operating system

Linux

### 🧱 Your Environment

_No response_

### 👀 Have you spent some time to check if this issue has been raised before?

- [X] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.