mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Don't expand notebook cells after being run, and don't hide outputs when cell is collapsed. (#7585)
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<code-component [cellModel]="cellModel" [model]="model" [activeCellId]="activeCellId"></code-component>
|
<code-component [cellModel]="cellModel" [model]="model" [activeCellId]="activeCellId"></code-component>
|
||||||
</div>
|
</div>
|
||||||
<div style="flex: 0 0 auto; width: 100%; height: 100%; display: block">
|
<div style="flex: 0 0 auto; width: 100%; height: 100%; display: block">
|
||||||
<output-area-component *ngIf="cellModel.outputs && cellModel.outputs.length > 0 && !cellModel.isCollapsed" [cellModel]="cellModel" [activeCellId]="activeCellId">
|
<output-area-component *ngIf="cellModel.outputs && cellModel.outputs.length > 0" [cellModel]="cellModel" [activeCellId]="activeCellId">
|
||||||
</output-area-component>
|
</output-area-component>
|
||||||
<stdin-component *ngIf="isStdInVisible" [onSendInput]="inputDeferred" [stdIn]="stdIn" [cellModel]="cellModel"></stdin-component>
|
<stdin-component *ngIf="isStdInVisible" [onSendInput]="inputDeferred" [stdIn]="stdIn" [cellModel]="cellModel"></stdin-component>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -295,9 +295,6 @@ export class CellModel implements ICellModel {
|
|||||||
this.notebookModel.updateActiveCell(this);
|
this.notebookModel.updateActiveCell(this);
|
||||||
this.active = true;
|
this.active = true;
|
||||||
}
|
}
|
||||||
if (this.isCollapsed) {
|
|
||||||
this.isCollapsed = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (connectionManagementService) {
|
if (connectionManagementService) {
|
||||||
this._connectionManagementService = connectionManagementService;
|
this._connectionManagementService = connectionManagementService;
|
||||||
|
|||||||
Reference in New Issue
Block a user