mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 01:25:37 -05:00
fix for parameterized notebook closure. (#14324)
* Two options * remove commented line and add the null check * fix tests: pass isDirty explicitly * remove commented line Co-authored-by: chlafreniere <hichise@gmail.com>
This commit is contained in:
@@ -122,6 +122,9 @@ export class NotebookEditorModel extends EditorModel {
|
||||
this._isFirstKernelChange = false;
|
||||
return;
|
||||
}
|
||||
if (!contentChange?.isDirty) {
|
||||
return;
|
||||
}
|
||||
this._lastEditFullReplacement = false;
|
||||
if (contentChange && contentChange.changeType === NotebookChangeType.Saved) {
|
||||
// We send the saved events out, so ignore. Otherwise we double-count this as a change
|
||||
|
||||
Reference in New Issue
Block a user