mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Update netbox/dcim/forms/bulk_import.py
This commit is contained in:
parent
d327147ccf
commit
c8f82c23af
@ -1164,8 +1164,8 @@ class InventoryItemImportForm(NetBoxModelImportForm):
|
||||
def clean(self):
|
||||
super().clean()
|
||||
cleaned_data = self.cleaned_data
|
||||
component_type = cleaned_data.get('component_type', None)
|
||||
component_name = cleaned_data.get('component_name', None)
|
||||
component_type = cleaned_data.get('component_type')
|
||||
component_name = cleaned_data.get('component_name')
|
||||
device = self.cleaned_data.get("device")
|
||||
|
||||
if component_type:
|
||||
|
Loading…
Reference in New Issue
Block a user