From c9a3dbf6c64051ca43fd6aaad0196c321b744cdd Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 14 Oct 2022 16:39:38 +0200 Subject: [PATCH] fix template device list --- ereuse_devicehub/templates/inventory/device_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 22686f84..3bb32fc5 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -357,7 +357,7 @@ {% for dev in devices %} - {% if not dev.parent_id or dev.parent.placeholder.kangaroo %} + {% if dev.placeholder and (not dev.parent_id or dev.parent.placeholder.kangaroo) %}