mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -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:
@@ -55,7 +55,7 @@ export function convertEditorInput(input: EditorInput, options: IQueryEditorOpti
|
||||
if(uri){
|
||||
//TODO: We need to pass in notebook data either through notebook input or notebook service
|
||||
let fileName: string = input? input.getName() : 'untitled';
|
||||
let notebookInputModel = new NotebookInputModel(uri, undefined, undefined);
|
||||
let notebookInputModel = new NotebookInputModel(uri, undefined, false, undefined);
|
||||
//TO DO: Second paramter has to be the content.
|
||||
let notebookInput: NotebookInput = instantiationService.createInstance(NotebookInput, fileName, notebookInputModel);
|
||||
return notebookInput;
|
||||
|
||||
Reference in New Issue
Block a user