mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 01:25: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);
|
||||
|
||||
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) {
|
||||
this._profilerTableEditor.restoreViewState(savedViewState);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user