mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 09:35:37 -05:00
Fix preview handling so the untitled notebooks are pinned by default (#3405)
This commit is contained in:
@@ -257,7 +257,7 @@ export class MainThreadNotebookDocumentsAndEditors extends Disposable implements
|
||||
|
||||
const editorOptions: ITextEditorOptions = {
|
||||
preserveFocus: options.preserveFocus,
|
||||
pinned: options.pinned
|
||||
pinned: !options.preview
|
||||
};
|
||||
let model = new NotebookInputModel(uri, undefined, false, undefined);
|
||||
let providerId = options.providerId;
|
||||
|
||||
Reference in New Issue
Block a user