Closes #4940: Added an occupied field to rack unit representations for rack elevation views
This commit is contained in:
@@ -189,6 +189,7 @@ class RackViewSet(CustomFieldModelViewSet):
|
||||
# Return a JSON representation of the rack units in the elevation
|
||||
elevation = rack.get_rack_units(
|
||||
face=data['face'],
|
||||
user=request.user,
|
||||
exclude=data['exclude'],
|
||||
expand_devices=data['expand_devices']
|
||||
)
|
||||
|
Reference in New Issue
Block a user