mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #4921: Render non-viewable devices as unavailable space in rack elevations
This commit is contained in:
@@ -176,6 +176,7 @@ class RackViewSet(CustomFieldModelViewSet):
|
||||
# Render and return the elevation as an SVG drawing with the correct content type
|
||||
drawing = rack.get_elevation_svg(
|
||||
face=data['face'],
|
||||
user=request.user,
|
||||
unit_width=data['unit_width'],
|
||||
unit_height=data['unit_height'],
|
||||
legend_width=data['legend_width'],
|
||||
|
Reference in New Issue
Block a user