mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 17:59:11 -06:00
Fixes #1266: Prevent termination a circuit to an already-connected interface
This commit is contained in:
parent
16d694734b
commit
78d74261e9
@ -220,7 +220,7 @@ class CircuitTerminationForm(BootstrapMixin, ChainedFieldsMixin, forms.ModelForm
|
|||||||
label='Interface',
|
label='Interface',
|
||||||
widget=APISelect(
|
widget=APISelect(
|
||||||
api_url='/api/dcim/interfaces/?device_id={{device}}&type=physical',
|
api_url='/api/dcim/interfaces/?device_id={{device}}&type=physical',
|
||||||
disabled_indicator='is_connected'
|
disabled_indicator='connection'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user