chore(api): fixes

This commit is contained in:
2025-11-27 09:10:50 +01:00
parent 1f96290371
commit 21ca6ee21e
4 changed files with 12 additions and 15 deletions

View File

@@ -293,6 +293,7 @@ function receiveTurnEvent(eventData) {
nextPlayerText.hide();
nextPlayersContainer.html('');
} else {
console.log("Length"+nextPlayers.length);
nextPlayerText.show();
let nextPlayersHtml = '';
nextPlayers.forEach((player) => {
@@ -300,7 +301,7 @@ function receiveTurnEvent(eventData) {
if (player.dog) {
playerName += " 🐶";
}
nextPlayersHtml += `<p className="fs-5 text-primary">${playerName}</p>`;
nextPlayersHtml += `<p class="fs-5 text-primary">${playerName}</p>`;
});
nextPlayersContainer.html(nextPlayersHtml);
}