mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 09:08:15 -06:00
Fixes #15717: Allow VM with Site to Cluster without Site
This commit is contained in:
parent
b816a5d0c6
commit
3311a97be0
@ -177,9 +177,6 @@ class VirtualMachineForm(TenancyForm, NetBoxModelForm):
|
|||||||
queryset=Cluster.objects.all(),
|
queryset=Cluster.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
selector=True,
|
selector=True,
|
||||||
query_params={
|
|
||||||
'site_id': '$site',
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
device = DynamicModelChoiceField(
|
device = DynamicModelChoiceField(
|
||||||
label=_('Device'),
|
label=_('Device'),
|
||||||
|
Loading…
Reference in New Issue
Block a user