mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Added undefined check to profiler (#18025)
This commit is contained in:
@@ -464,7 +464,7 @@ export class ProfilerEditor extends EditorPane {
|
|||||||
let savedViewState = this._savedTableViewStates.get(input);
|
let savedViewState = this._savedTableViewStates.get(input);
|
||||||
|
|
||||||
this._profilerEditorContextKey.set(true);
|
this._profilerEditorContextKey.set(true);
|
||||||
if (input instanceof ProfilerInput && input.matches(this.input)) {
|
if (input instanceof ProfilerInput && this.input !== undefined && input.matches(this.input)) {
|
||||||
if (savedViewState) {
|
if (savedViewState) {
|
||||||
this._profilerTableEditor.restoreViewState(savedViewState);
|
this._profilerTableEditor.restoreViewState(savedViewState);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user