Fix players not showing up

This commit is contained in:
Andrew 2023-09-19 20:31:56 -04:00
parent 6c1508f061
commit 0c02a1511d

View File

@ -192,7 +192,7 @@
/* TODO Update each element */ /* TODO Update each element */
if (server.running) { if (server.running) {
/* Update Players */ /* Update Players */
if (server.players) { if (server.max != 0) {
server_players.innerHTML = server.online + ` / ` + server.max + ` {{ translate('dashboard', 'max', data['lang']) }}<br />` server_players.innerHTML = server.online + ` / ` + server.max + ` {{ translate('dashboard', 'max', data['lang']) }}<br />`
} }