Fix #3989 notebook execution count should start empty (#4004)

- Fixed issues where we missed using actual execution count / starting from empty on this.
This commit is contained in:
Kevin Cunnane
2019-02-11 15:18:54 -08:00
committed by GitHub
parent 0c316d3225
commit 6d37329e74
2 changed files with 2 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ export class NotebookModel extends Disposable implements INotebookModel {
cell_type: cellType,
source: '',
metadata: {},
execution_count: 1
execution_count: undefined
};
return this.notebookOptions.factory.createCell(singleCell, { notebook: this, isTrusted: true });
}