mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
display_name undefined error in javascript (#4187)
This commit is contained in:
@@ -154,7 +154,9 @@ export class CodeComponent extends AngularDisposable implements OnInit, OnChange
|
|||||||
}
|
}
|
||||||
|
|
||||||
private isSqlCodeCell() {
|
private isSqlCodeCell() {
|
||||||
return this._model.defaultKernel.display_name === notebookConstants.SQL
|
return this._model
|
||||||
|
&& this._model.defaultKernel
|
||||||
|
&& this._model.defaultKernel.display_name === notebookConstants.SQL
|
||||||
&& this.cellModel.cellType === CellTypes.Code
|
&& this.cellModel.cellType === CellTypes.Code
|
||||||
&& this.cellModel.cellUri;
|
&& this.cellModel.cellUri;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user