Skip to content

Rework listing of discovered ports #614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Nov 24, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix bug selecting board in boards selector dropdown
  • Loading branch information
silvanocerza authored and Alberto Iannaccone committed Nov 24, 2021
commit 995b9a160d635eb4eea9167967fa297598cbdfc3
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export class BoardsServiceProvider implements FrontendApplicationContribution {
let hasChanged = availableBoards.length !== currentAvailableBoards.length;
for (let i = 0; !hasChanged && i < availableBoards.length; i++) {
const [left, right] = [availableBoards[i], currentAvailableBoards[i]];
hasChanged = !!AvailableBoard.compare(left, right);
hasChanged = !!AvailableBoard.compare(left, right) || left.selected !== right.selected;
}
if (hasChanged) {
this._availableBoards = availableBoards;
Expand Down