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.
1 parent 13d4232 commit b869019Copy full SHA for b869019
1 file changed
src/plugins/search/search.js
@@ -213,6 +213,11 @@ export function init(config, vm) {
213
const len = paths.length;
214
let count = 0;
215
216
+ // Fix search error when exist translations documents
217
+ if (INDEXS !== null && !INDEXS[paths[0]]) {
218
+ INDEXS = {};
219
+ }
220
+
221
paths.forEach(path => {
222
if (INDEXS[path]) {
223
return count++;
0 commit comments