diff --git a/packages/node_modules/pouchdb-find/src/adapters/local/utils.js b/packages/node_modules/pouchdb-find/src/adapters/local/utils.js index 149ec587cc..c97502b55e 100644 --- a/packages/node_modules/pouchdb-find/src/adapters/local/utils.js +++ b/packages/node_modules/pouchdb-find/src/adapters/local/utils.js @@ -27,7 +27,7 @@ function massageUseIndex(useIndex) { } return cleanedUseIndex.map(function (name) { - return name.replace('_design/', ''); + return name.substr(8); // remove _design/ prefix }); }