No virtual chassis name in rack view
### NetBox version

v3.1.4

### Python version

3.8

### Steps to Reproduce

1. Create a rack
2. Add 2 devices with no name in rack
3. Create virtual chassis
4. Add devices as member
5. Open rack

### Expected Behavior

The name displayed should be something like [virtual-chassis name]:[virtual-chassis position], like in older versions (before 3.1)

### Observed Behavior

Device Type name is being displayed
diff --git a/netbox/dcim/svg.py b/netbox/dcim/svg.py
index e19e8fa2f..1058d8385 100644
--- a/netbox/dcim/svg.py
+++ b/netbox/dcim/svg.py
@@ -19,7 +19,12 @@ __all__ = (
 
 
 def get_device_name(device):
-    return device.name or str(device.device_type)
+    if device.virtual_chassis:
+        return f'{device.virtual_chassis.name}:{device.vc_position}'
+    elif device.name:
+        return device.name
+    else:
+        return str(device.device_type)
 
 
 class RackElevationSVG:
['netbox/dcim/svg.py']