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:
parent
6f44461c28
commit
ea7030d2a1
2 changed files with 11 additions and 0 deletions
|
|
@ -88,6 +88,8 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
</tbody>
|
||||
{% empty %}
|
||||
<tbody></tbody>{# sortable.js needs a table body #}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue