Fixes status page bug where servers always report being online

This commit is contained in:
Andrew 2021-10-18 17:43:14 -04:00
parent 87b6bd7758
commit 4b7088d103

View File

@ -53,7 +53,7 @@
</td>
{% end %}
<td>
{% if server['stats']['int_ping_results'] %}
{% if server['stats']['running'] %}
<span class="text-success"><i class="fas fa-signal"></i> {{ translate('dashboard', 'online', data['lang']) }}</span>
{% else %}
<span class="text-danger"><i class="fas fa-ban"></i> {{ translate('dashboard', 'offline', data['lang']) }}</span>