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

+1 -1
View File
@@ -1,6 +1,6 @@
from netbox.plugins import PluginConfig, get_plugin_config
__version__ = "0.26.1"
__version__ = "0.26.2"
class NetBoxUtilitiesConfig(PluginConfig):
@@ -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>
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "netbox-utilities"
version = "0.26.1"
version = "0.26.2"
description = "Navigation, tenant utilities, connection VLANs, partial-width racks, disks, CPU & RAM, switch port export and bulk operations for NetBox 4.6/4.7"
readme = "README.md"
requires-python = ">=3.12"