mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 17:23:05 -05:00
Null ref occurred when doing some UI interactions before the notebook model was set (#3769)
This commit is contained in:
@@ -168,7 +168,7 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
|
||||
}
|
||||
|
||||
public unselectActiveCell() {
|
||||
if (this.model.activeCell) {
|
||||
if (this.model && this.model.activeCell) {
|
||||
this.model.activeCell.active = false;
|
||||
}
|
||||
this._changeRef.detectChanges();
|
||||
|
||||
Reference in New Issue
Block a user