Fix scopes tree draw on empty centers/rooms

Otherwise, ogcp draws empty centers and rooms as computers, with the
state circle.
multi-ogserver
Javier Sánchez Parra 2021-07-30 12:01:59 +02:00 committed by OpenGnSys Support Team
parent df25ec62a8
commit 95c113f067
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
{% endif %}
<a class="nav-link {% if not scope["scope"] %}disabled{% endif %}" href="#level{{i}}-{{loop.index}}"
{% if scope["scope"] %}data-toggle="collapse"{% endif %}>
{% if not scope["scope"] %}
{% if "state" in scope %}
<i class="nav-icon fa-circle
{% if scope['state'] == 'OPG' %}fas text-warning
{% elif scope['state'] == 'BSY' %}fas text-danger