Compare commits
2
Commits
cc2546b332
...
4dd01b82e3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4dd01b82e3 | ||
|
|
2ea1dcaec3 |
No files matched your search
@@ -1,6 +1,6 @@
|
||||
from netbox.plugins import PluginConfig, get_plugin_config
|
||||
|
||||
__version__ = "0.26.1"
|
||||
__version__ = "0.26.2"
|
||||
|
||||
|
||||
class NetBoxUtilitiesConfig(PluginConfig):
|
||||
|
||||
@@ -432,7 +432,8 @@ def _install_device_form():
|
||||
reordered["utilities_rack_width"] = self.fields["utilities_rack_width"]
|
||||
reordered["utilities_horizontal_position"] = self.fields["utilities_horizontal_position"]
|
||||
for name in STACK_FORM_FIELDS:
|
||||
reordered[name] = self.fields[name]
|
||||
if name in self.fields:
|
||||
reordered[name] = self.fields[name]
|
||||
self.fields = reordered
|
||||
|
||||
def clean(self):
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user