gamedaoco / gamedao-beta

https://beta.gamedao.co
Apache License 2.0
9 stars 1 forks source link

Leave Organization does not update button options on organization list view #206

Closed 5-mark closed 2 years ago

5-mark commented 2 years ago

Describe the bug After successfully leaving an Organization where I was member in, the buttons "Dashboard" and "Leave" remain on the view. Also a reload does not change the button options to "Join" or "Apply". Once leaving an organization I cannot join any more

To Reproduce Steps to reproduce the behavior:

  1. Go to Organization List Page
  2. Go to an Organization where you are member of
  3. Click the Leave button and sign the transaction
  4. See successful leave message and see that the amount of members decreases by 1
  5. See that the buttons "Dashboard" and "Leave" remain on the view.

Expected behavior After successful Organization leave, the view updates the buttons to the available options (eg. Apply or Join).

Screenshots here a screenshot of an Organization I did not create but joined and left before. (only 1 member left, which is not me) image

5-mark commented 2 years ago

probably solve with #158