Skip to content

Commit 2f9b088

Browse files
authored
Merge pull request #573 from parallaxinc/patch-ui_toolbar
Rely on selected port to guide Load To button state.
2 parents d36fcf1 + d0a2360 commit 2f9b088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/toolbar_controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function propToolbarButtonController() {
7575
clientService.type === serviceConnectionTypes.WS )) {
7676
if (clientService.portsAvailable &&
7777
clientService.portList.length > 0 &&
78-
clientService.portList[0].length > 0) {
78+
clientService.getSelectedPort().length > 0) {
7979
if (isS3boardType) {
8080
setS3UIButtonGroup();
8181
} else {

0 commit comments

Comments
 (0)