When a user click on leave a team in which there is only one member. he is prompted to make someone else admin before leaving instead of prompting to whether delete the team or not.
Steps to reproduce:
Click on Create New -> Team
Then Click on three dots on team name and select leave.
Expected behavior:
Should either delete the team or prompt the user to confirm whether to delete and leave the team or not.
Hi @Udit-takkar , I would love to take on this issue and contribute to the project. Could you please assign it to me if it's available? Looking forward to your response. Thanks!
Description:
When a user click on leave a team in which there is only one member. he is prompted to make someone else admin before leaving instead of prompting to whether delete the team or not.
Steps to reproduce:
Expected behavior:
Should either delete the team or prompt the user to confirm whether to delete and leave the team or not.
Client Setup Information