Refactoring
This commit is contained in:
1 parent
7f96a878d1
commit
b5f9ba479a
3 files changed
+29
-29
No files matched your search
@@ -1203,9 +1203,9 @@ function newSuperalgosTutorialSpace() {
|
||||
project = 'Superalgos'
|
||||
type = splittedNodeType[0]
|
||||
}
|
||||
let definitionNode = SCHEMAS_BY_PROJECT.get(project).map.docSchema.get(type)
|
||||
let definitionNode = SCHEMAS_BY_PROJECT.get(project).map.docsNodeSchema.get(type)
|
||||
if (definitionNode === undefined) {
|
||||
definitionNode = SCHEMAS_BY_PROJECT.get(project).map.conceptSchema.get(type)
|
||||
definitionNode = SCHEMAS_BY_PROJECT.get(project).map.docsConceptSchema.get(type)
|
||||
if (definitionNode === undefined) {
|
||||
currentNode.payload.uiObject.setErrorMessage(type + ' not found at Doc Schema or Concept Schema.')
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user