🍉 Sync 2026-10-20 11:10:09

This commit is contained in:
github-actions[bot] committed 2026-10-20 11:10:09 +08:00
1 parent cbd3ce4959
commit 0e175ff6b9
8 files changed
+2576 -234

No files matched your search

@@ -214,8 +214,9 @@ function addResolvedPort(knownPorts, seenPorts, role, device, mapping, board, sw
});
}
else {
const deviceInfo = L.isObject(board) && L.isObject(board['network-device'])
? board['network-device'][value] : null;
const devices = L.isObject(board)
? (board['network-device'] || board.network_device) : null;
const deviceInfo = L.isObject(devices) ? devices[value] : null;
addKnownPort(knownPorts, seenPorts, role, value,
L.isObject(deviceInfo) && isString(deviceInfo.label) ? { label: deviceInfo.label } : null);