From ae55da3c35d5023bf0f0782cbd8609cc15b664ea Mon Sep 17 00:00:00 2001 From: Maddy <12754347+MaddyDev@users.noreply.github.com> Date: Wed, 3 Mar 2021 11:28:12 -0800 Subject: [PATCH] fix the check (#14529) --- .../workbench/contrib/notebook/browser/models/notebookInput.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/workbench/contrib/notebook/browser/models/notebookInput.ts b/src/sql/workbench/contrib/notebook/browser/models/notebookInput.ts index 1780300713..a78a5b1f54 100644 --- a/src/sql/workbench/contrib/notebook/browser/models/notebookInput.ts +++ b/src/sql/workbench/contrib/notebook/browser/models/notebookInput.ts @@ -122,7 +122,7 @@ export class NotebookEditorModel extends EditorModel { this._isFirstKernelChange = false; return; } - if (!contentChange?.isDirty === false) { + if (contentChange?.isDirty === false) { return; } this._lastEditFullReplacement = false;