mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
Fix the "Failed to show notebook document" errors (#4649)
This commit is contained in:
@@ -109,7 +109,7 @@ export class ExtHostNotebookDocumentsAndEditors implements ExtHostNotebookDocume
|
||||
this._mainContext.getProxy(SqlMainContext.MainThreadNotebookDocumentsAndEditors),
|
||||
data.id,
|
||||
documentData,
|
||||
typeConverters.ViewColumn.to(data.editorPosition)
|
||||
typeof data.editorPosition === 'number' ? typeConverters.ViewColumn.to(data.editorPosition) : undefined
|
||||
);
|
||||
this._editors.set(data.id, editor);
|
||||
}
|
||||
|
||||
@@ -840,7 +840,7 @@ export interface INotebookModelChangedData {
|
||||
export interface INotebookEditorAddData {
|
||||
id: string;
|
||||
documentUri: UriComponents;
|
||||
editorPosition: EditorViewColumn;
|
||||
editorPosition: EditorViewColumn | undefined;
|
||||
}
|
||||
|
||||
export interface INotebookShowOptions {
|
||||
|
||||
Reference in New Issue
Block a user