mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-26 15:17:45 -06:00
Fix bulk editing of device components
This commit is contained in:
@@ -1120,7 +1120,7 @@ class DeviceView(ObjectView):
|
||||
orderable=False
|
||||
)
|
||||
if request.user.has_perm('dcim.change_inventoryitem') or request.user.has_perm('dcim.delete_inventoryitem'):
|
||||
devicebay_table.columns.show('pk')
|
||||
inventoryitem_table.columns.show('pk')
|
||||
|
||||
# Services
|
||||
services = Service.objects.restrict(request.user, 'view').filter(device=device)
|
||||
|
||||
Reference in New Issue
Block a user