فهرست منبع

Fixes #19472: Fix devie column rendering in virtual device contexts table

Jeremy Stretch 9 ماه پیش
والد
کامیت
33887e7c69
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      netbox/dcim/tables/devices.py

+ 1 - 2
netbox/dcim/tables/devices.py

@@ -1091,10 +1091,9 @@ class VirtualDeviceContextTable(TenancyColumnsMixin, NetBoxTable):
         verbose_name=_('Name'),
         linkify=True
     )
-    device = tables.TemplateColumn(
+    device = tables.Column(
         verbose_name=_('Device'),
         order_by=('device___name',),
-        template_code=DEVICE_LINK,
         linkify=True
     )
     status = columns.ChoiceFieldColumn(