fix template device list

This commit is contained in:
Cayo Puigdefabregas 2022-10-14 16:39:38 +02:00
parent a54942a8a8
commit c9a3dbf6c6

View file

@ -357,7 +357,7 @@
</thead>
<tbody>
{% 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) %}
<tr>
<td>
<input type="checkbox" class="deviceSelect" data="{{ dev.id }}"