Skip to content

Commit

Permalink
set default value of storedFields when loading index
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaong committed Aug 28, 2019
1 parent be7c523 commit 831fcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MiniSearch.js
Expand Up @@ -488,7 +488,7 @@ class MiniSearch {
miniSearch._fieldLength = fieldLength
miniSearch._averageFieldLength = averageFieldLength
miniSearch._fieldIds = fieldIds
miniSearch._storedFields = storedFields
miniSearch._storedFields = storedFields || {}
return miniSearch
}

Expand Down

0 comments on commit 831fcd8

Please sign in to comment.