mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode c58aaab8a1cc22a7139b761166a0d4f37d41e998 (#7880)
* Merge from vscode c58aaab8a1cc22a7139b761166a0d4f37d41e998 * fix pipelines * fix strict-null-checks * add missing files
This commit is contained in:
@@ -129,9 +129,9 @@ export class ToolBar extends Disposable {
|
||||
}
|
||||
|
||||
private getKeybindingLabel(action: IAction): string | undefined {
|
||||
const key = this.lookupKeybindings && this.options.getKeyBinding ? this.options.getKeyBinding(action) : undefined;
|
||||
const key = this.lookupKeybindings ? this.options.getKeyBinding?.(action) : undefined;
|
||||
|
||||
return withNullAsUndefined(key && key.getLabel());
|
||||
return withNullAsUndefined(key?.getLabel());
|
||||
}
|
||||
|
||||
addPrimaryAction(primaryAction: IAction): () => void {
|
||||
|
||||
Reference in New Issue
Block a user