Another fix

This commit is contained in:
Luis Fernando Molina committed 2020-12-31 19:20:15 +01:00
1 parent 8d3009440c
commit db984e39d8
1 file changed
+1 -1
@@ -365,7 +365,7 @@ function newSuperalgosDocSpace() {
if (UI.projects.superalgos.spaces.designSpace.workspace === undefined) { return }
if (UI.projects.superalgos.spaces.designSpace.workspace.isInitialized === false) { return }
if (thisObject.searchEngine.docsIndex && thisObject.searchEngine.docsIndex.length === 0) {
if (thisObject.searchEngine && thisObject.searchEngine.docsIndex && thisObject.searchEngine.docsIndex.length === 0) {
setUpWorkspaceSchemas()
thisObject.searchEngine.setUpSearchEngine()
}