fix template device list

This commit is contained in:
Cayo Puigdefabregas 2022-10-14 16:39:38 +02:00
parent a54942a8a8
commit c9a3dbf6c6
1 changed files with 1 additions and 1 deletions

View File

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