This commit is contained in:
kkthxbye-code 2022-12-20 11:47:55 +01:00
parent 9cac9f10e3
commit cd52de6b5f

View File

@ -1623,7 +1623,7 @@ class InventoryItemForm(DeviceComponentForm):
initial = kwargs.get('initial', {}).copy()
component_type = initial.get('component_type')
component_id = initial.get('component_id')
# Used for picking the default active tab for component selection
self.no_component = True