check for isDirty false explicitly (#14427)

* check for isDirty false explicitly

* revert back test to not pass isDirty
This commit is contained in:
Maddy
2021-03-01 14:14:00 -08:00
committed by GitHub
parent 14b9628b52
commit af3373bc4b
2 changed files with 1 additions and 34 deletions

View File

@@ -122,7 +122,7 @@ export class NotebookEditorModel extends EditorModel {
this._isFirstKernelChange = false;
return;
}
if (!contentChange?.isDirty) {
if (!contentChange?.isDirty === false) {
return;
}
this._lastEditFullReplacement = false;