Skip to content

Commit

Permalink
Hide select terminal profile in yarn web
Browse files Browse the repository at this point in the history
Fixes #118978
  • Loading branch information
Tyriar committed Mar 24, 2021
1 parent a0e8b01 commit ab317a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/workbench/contrib/terminal/browser/terminalView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,9 @@ function getTerminalSelectOpenItems(terminalService: ITerminalService, contribut
items.push({ text: contributed.title });
}
items.push({ text: switchTerminalActionViewItemSeparator, isDisabled: true });
items.push({ text: selectDefaultProfileTitle });
if (terminalService.isProcessSupportRegistered) {
items.push({ text: selectDefaultProfileTitle });
}
items.push({ text: configureTerminalSettingsTitle });
return items;
}
Expand Down

0 comments on commit ab317a2

Please sign in to comment.