mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 01:25:36 -05:00
Notebooks: Add Placeholder Cell, Fix Link Styling (#3728)
* Placeholder cell to add new real cells * Fix links in notebooks to show correct color, rely on angular ngif for placeholder * Fix failing test where one cell was expected by default * Remove unnecessary TODO
This commit is contained in:
@@ -250,11 +250,6 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
|
||||
this.updateToolbarComponents(this._model.trustedMode);
|
||||
this._modelRegisteredDeferred.resolve(this._model);
|
||||
model.backgroundStartSession();
|
||||
// Set first cell as default active cell if user creates new notebook
|
||||
// Otherwise, don't select any cells by default
|
||||
if (this._model && this._model.cells && this._model.cells[0] && this._model.isNewNotebook) {
|
||||
this.selectCell(model.cells[0]);
|
||||
}
|
||||
this._changeRef.detectChanges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user