mirror of https://git.48k.eu/ogcp
Fix scopes tree draw on empty centers/rooms
Otherwise, ogcp draws empty centers and rooms as computers, with the state circle.multi-ogserver
parent
df25ec62a8
commit
95c113f067
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue