Fix tutorials editor no showing at every step
This commit is contained in:
1 parent
1518bcf450
commit
d0d6896326
1 file changed
+5
-1
@@ -1186,7 +1186,11 @@ function newSuperalgosTutorialSpace() {
|
||||
transformDocsInfoIntoTutorialInfo()
|
||||
createTheHTML()
|
||||
|
||||
if (nodeConfig.controlDocs !== undefined && nodeConfig.controlDocs.closeTutorialEditor !== true) {
|
||||
if (nodeConfig.controlDocs !== undefined ) {
|
||||
if ( nodeConfig.controlDocs.closeTutorialEditor !== true) {
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo(nodeConfig.docs.project, 'Tutorial', nodeConfig.docs.type)
|
||||
}
|
||||
} else {
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo(nodeConfig.docs.project, 'Tutorial', nodeConfig.docs.type)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user