浏览代码

Merge pull request #6723 from aschlaep/fix-docsearch-build

Use correctly typed searchtarget in NotebookSearchProvider
Paul Ivanov 5 年之前
父节点
当前提交
d010823f35
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/documentsearch/src/providers/notebooksearchprovider.ts

+ 3 - 1
packages/documentsearch/src/providers/notebooksearchprovider.ts

@@ -110,7 +110,9 @@ export class NotebookSearchProvider implements ISearchProvider {
       });
     }
 
-    this._currentMatch = await this._stepNext(searchTarget.content.activeCell);
+    this._currentMatch = await this._stepNext(
+      this._searchTarget.content.activeCell
+    );
 
     return allMatches;
   }