From 668d1738f35a3f6cecd32384e0d3baa9bcc90c9e Mon Sep 17 00:00:00 2001 From: Daniel Sheppard Date: Wed, 8 May 2024 11:27:28 -0500 Subject: [PATCH] Minor fix for VMInterfaces --- netbox/virtualization/tables/virtualmachines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/virtualization/tables/virtualmachines.py b/netbox/virtualization/tables/virtualmachines.py index 33aa05ca3..9d194d268 100644 --- a/netbox/virtualization/tables/virtualmachines.py +++ b/netbox/virtualization/tables/virtualmachines.py @@ -173,8 +173,8 @@ class VirtualMachineVMInterfaceTable(VMInterfaceTable): default_columns = ('pk', 'name', 'enabled', 'mac_address', 'mtu', 'mode', 'description', 'ip_addresses') row_attrs = { 'data-name': lambda record: record.name, - 'data-virtual': lambda record: "true" if record.is_virtual else "false", - 'data-mark-connected': lambda record: "true" if record.mark_connected else "false", + 'data-virtual': lambda record: "true", + 'data-enabled': lambda record: "true" if record.enabled else "false", }