From 95c113f0674bda60cce7f1cc82ec1bf2777ed170 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 30 Jul 2021 12:01:59 +0200 Subject: Fix scopes tree draw on empty centers/rooms Otherwise, ogcp draws empty centers and rooms as computers, with the state circle. --- ogcp/templates/macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/templates') diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index 09326b5..d927b9f 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -47,7 +47,7 @@ {% endif %} - {% if not scope["scope"] %} + {% if "state" in scope %}