We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 660f140 + 3dc701c commit 3a5a169Copy full SHA for 3a5a169
src/vs/workbench/contrib/notebook/browser/contrib/find/findController.ts
@@ -88,7 +88,7 @@ export class NotebookFindWidget extends SimpleFindReplaceWidget implements INote
88
}
89
90
const matches = this._findModel.findMatches;
91
- this._replaceAllBtn.setEnabled(matches.find(match => match.modelMatchCount < match.matches.length) === null);
+ this._replaceAllBtn.setEnabled(matches.length > 0 && matches.find(match => match.modelMatchCount < match.matches.length) === undefined);
92
93
if (e.filters) {
94
this._findInput.updateFilterState((this._state.filters?.markupPreview ?? false) || (this._state.filters?.codeOutput ?? false));
0 commit comments