Closed SimoneMezzaro closed 1 year ago
In case the team leader is not the only one in the team, should we give it the possibility to delete the team as well or not ?
I think it's not necessary. If the team leader wants to quit the team it can promote someone else and then leave. Once the team is empty we delete it
I added the button. We need an api in backend (url: /api/team/delete/) that check if the player is leader and if he is the only one in the team. Then we need to delete the team.
Fixed in #84
If the team leader is the only person in the team we should give it the possibility to leave the team and if it does we delete the team from the database