mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 17:22:59 -05:00
Integrate notebook service with notebook UI (#3143)
Port notebookView code over to notebook.component.ts. Integrate loading of notebook contents into the UI
This commit is contained in:
@@ -40,8 +40,8 @@ export class OpenNotebookAction extends Action {
|
||||
public run(): TPromise<void> {
|
||||
return new TPromise<void>((resolve, reject) => {
|
||||
let untitledUri = URI.from({ scheme: Schemas.untitled, path: `Untitled-${counter++}`});
|
||||
let model = new NotebookInputModel(untitledUri, undefined, undefined);
|
||||
let input = new NotebookInput('modelViewId', model);
|
||||
let model = new NotebookInputModel(untitledUri, undefined, false, undefined);
|
||||
let input = new NotebookInput('modelViewId', model,);
|
||||
this._editorService.openEditor(input, { pinned: true });
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user