mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-05 16:25:25 +00:00
fixed team count (#654)
## Description: fixed .w. <img width="541" alt="スクリーンショット 2025-05-05 11 22 34" src="https://github.com/user-attachments/assets/4c324d64-a9cd-44a8-a72b-2465849303c9" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: aotumuri
This commit is contained in:
@@ -132,16 +132,9 @@ export class PublicLobby extends LitElement {
|
||||
</div>
|
||||
<div class="text-md font-medium text-blue-100">
|
||||
${lobby.gameConfig.gameMode == GameMode.Team
|
||||
? translateText("game_mode.teams")
|
||||
? translateText("public_lobby.teams", { num: teamCount })
|
||||
: translateText("game_mode.ffa")}
|
||||
</div>
|
||||
${teamCount !== null
|
||||
? html`
|
||||
<div class="text-md font-medium text-blue-100">
|
||||
${translateText("public_lobby.teams")} ${teamCount}
|
||||
</div>
|
||||
`
|
||||
: null}
|
||||
</div>
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="text-md font-medium text-blue-100 mb-2">
|
||||
|
||||
Reference in New Issue
Block a user