final merge chaku

This commit is contained in:
Theouche 2024-09-18 16:09:55 +02:00
parent 097ac69ddc
commit ccb0cafe4b
2 changed files with 3 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class TournamentMatchMaker:
await sync_to_async(update_tournament)(self.final_name, winner_username)
player_list = [player.user.username for player in self.waiting_players]
write_data(player_list, winner_username)
await sync_to_async(write_data)(player_list, winner_username)
# Reset tournament state
self.waiting_players = []

View File

@ -131,6 +131,8 @@ document.addEventListener('DOMContentLoaded', () => {
registerForm.style.display = 'none';
document.getElementById("post-form-buttons").style.display = 'block';
history.pushState({ view: 'post-form-buttons' }, '', `#${'post-form-buttons'}`);
burgerMenu.style.display = 'block';
logo.style.display = 'none';
} else {
alert('Registration failed. Please try again.');
}