1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00

fix(instances): the grouped instance list without computes has a table body

The grouped list opens one tbody per compute, so with no compute the
sortable table had none, and sortable.js threw on page load ("Cannot read
properties of undefined (reading 'rows')"). An empty tbody is rendered
in that case.
This commit is contained in:
catborise 2026-10-19 15:54:04 +03:00
parent 6f44461c28
commit ea7030d2a1
2 changed files with 11 additions and 0 deletions

View file

@ -88,6 +88,8 @@
{% endfor %}
{% endif %}
</tbody>
{% empty %}
<tbody></tbody>{# sortable.js needs a table body #}
{% endfor %}
</table>