diff options
| author | bobzel <zzzman@gmail.com> | 2022-05-13 18:17:10 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-05-13 18:17:10 -0400 |
| commit | 57c1b8235b26a1b6a315922b4dc2926e1e597674 (patch) | |
| tree | 39e113956fb8c458111dba7ccfb9dc6f6d361606 /src/client/views/search | |
| parent | 3847b2bbba9a64b846ecd6af481fd04df55bd798 (diff) | |
removed layerProvider functionality.
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 2905e96d9..152b7bbcb 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -127,7 +127,7 @@ export class SearchBox extends ViewBoxBaseComponent<SearchBoxProps>() { static foreachRecursiveDoc(docs: Doc[], func: (depth: number, doc: Doc) => void) { let newarray: Doc[] = []; var depth = 0; - let visited: Doc[] = []; + const visited: Doc[] = []; while (docs.length > 0) { newarray = []; docs.filter(d => d && !visited.includes(d)).forEach(d => { |
