fix: make all documents searchable in production

This commit is contained in:
AbleKSaju
2025-05-21 12:00:03 +05:30
parent 0bfabafc4a
commit e0bb323bbd
+1 -3
View File
@@ -221,9 +221,7 @@ function getListViewList(fyo: Fyo): SearchItem[] {
schemaNames.push(ModelNameEnum.CustomForm);
}
if (fyo.store.isDevelopment) {
schemaNames = Object.keys(fyo.schemaMap) as ModelNameEnum[];
}
schemaNames = Object.keys(fyo.schemaMap) as ModelNameEnum[];
const standardLists = schemaNames
.map((s) => fyo.schemaMap[s])