Przeglądaj źródła

fix(virtualization): Restore Cluster Group in VM placement panel

Restore the Cluster Group and its link alongside the Cluster name,
matching the display before the declarative UI conversion.

Fixes #23181
Martin Hauser 1 miesiąc temu
rodzic
commit
2f79d987a8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      netbox/virtualization/ui/panels.py

+ 1 - 1
netbox/virtualization/ui/panels.py

@@ -66,7 +66,7 @@ class VirtualMachinePlacementPanel(panels.ObjectAttributesPanel):
     title = _('Placement')
 
     site = attrs.RelatedObjectAttr('site', linkify=True, grouped_by='group')
-    cluster = attrs.RelatedObjectAttr('cluster', linkify=True)
+    cluster = attrs.RelatedObjectAttr('cluster', linkify=True, grouped_by='group')
     cluster_type = attrs.RelatedObjectAttr('cluster.type', linkify=True)
     device = attrs.RelatedObjectAttr('device', linkify=True)