closeTutorialEditor command improved to show search page
This commit is contained in:
1 parent
2e1d3c944a
commit
ae38c94bd7
2 files changed
+9
-1
No files matched your search
@@ -1200,6 +1200,8 @@ function newSuperalgosTutorialSpace() {
|
||||
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.searchPage()
|
||||
}
|
||||
} else {
|
||||
UI.projects.superalgos.spaces.docsSpace.navigateTo(nodeConfig.docs.project, 'Tutorial', nodeConfig.docs.type)
|
||||
|
||||
Reference in new issue
Block a user