mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-24 11:46:32 +00:00
[ATL-1570] Install core notification not to appear on board unplug (#485)
This commit is contained in:
parent
7d5381bbde
commit
0f82e91380
@ -44,9 +44,10 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
|
||||
}
|
||||
|
||||
protected ensureCoreExists(config: BoardsConfig.Config): void {
|
||||
const { selectedBoard } = config;
|
||||
const { selectedBoard, selectedPort } = config;
|
||||
if (
|
||||
selectedBoard &&
|
||||
selectedPort &&
|
||||
!this.notifications.find((board) => Board.sameAs(board, selectedBoard))
|
||||
) {
|
||||
this.notifications.push(selectedBoard);
|
||||
|
Loading…
x
Reference in New Issue
Block a user