Skip to content

Commit a6a7af4

Browse files
fallback to port.address if addressLabel is false
1 parent 8f95fd6 commit a6a7af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class BoardsDropDown extends React.Component<BoardsDropDown.Props> {
138138
{boardLabel}
139139
</div>
140140
<div className="arduino-boards-dropdown-item--port-label noWrapInfo noselect">
141-
{port.addressLabel}
141+
{port.addressLabel || port.address}
142142
</div>
143143
</div>
144144
{selected ? <div className="fa fa-check" /> : ''}

0 commit comments

Comments
 (0)