mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 01:00:29 -04:00
Merge from vscode b12f623603e2fc1c5b3037115fa37c1a6acc4165 (#6760)
This commit is contained in:
@@ -1455,7 +1455,7 @@ export class SearchView extends ViewletPanel {
|
||||
this.openSettings('.exclude');
|
||||
}
|
||||
|
||||
private openSettings(query: string): Promise<IEditor | null> {
|
||||
private openSettings(query: string): Promise<IEditor | undefined> {
|
||||
const options: ISettingsEditorOptions = { query };
|
||||
return this.contextService.getWorkbenchState() !== WorkbenchState.EMPTY ?
|
||||
this.preferencesService.openWorkspaceSettings(undefined, options) :
|
||||
|
||||
Reference in New Issue
Block a user