fix: device edit form crashed when stack fields are hidden

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-05 16:22:58 +01:00
1 parent cc2546b332
commit 2ea1dcaec3
3 files changed
+3 -3

No files matched your search

@@ -99,7 +99,7 @@
{% render_field form.vc_priority %}
</div>
{% if form.utilities_switch_stack %}
{% if "utilities_switch_stack" in form.fields %}
<div class="field-group my-5">
<div class="row">
<h2 class="col-9 offset-3">Switch-Stack</h2>