mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #8655: Fix AttributeError when viewing cabled interfaces
This commit is contained in:
@@ -45,7 +45,7 @@ def get_cabletermination_row_class(record):
|
||||
if record.mark_connected:
|
||||
return 'success'
|
||||
elif record.cable:
|
||||
return record.cable.get_status_class()
|
||||
return record.cable.get_status_color()
|
||||
return ''
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user