Skip to content

Commit

Permalink
Added changelog fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
abates committed Apr 1, 2024
1 parent 84dd8e9 commit 4c0992f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/5515.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed javascript exception thrown in the Device LLDP neighbors view for neighbors without configured devices/interfaces.
3 changes: 3 additions & 0 deletions nautobot/dcim/templates/dcim/device/lldp_neighbors.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
};

function getAttribute(node, querySelector, attribute) {
if (node === null) {
return "";
}
const child = node.querySelector(querySelector);
if (child === null) {
return "";
Expand Down

0 comments on commit 4c0992f

Please sign in to comment.