Bug when you leave these fields in blanck

This commit is contained in:
Luis Fernando Molina committed 2021-01-11 14:48:06 +01:00
1 parent 8c8c13e85d
commit 6e14e1b2e9
1 file changed
+4 -1
@@ -288,7 +288,10 @@ function newSuperalgosTutorialSpace() {
config.controlDocs.page !== undefined &&
config.controlDocs.page.project !== undefined &&
config.controlDocs.page.category !== undefined &&
config.controlDocs.page.type !== undefined
config.controlDocs.page.type !== undefined &&
config.controlDocs.page.project !== '' &&
config.controlDocs.page.category !== '' &&
config.controlDocs.page.type !== ''
) {
/*
This produces the Docs to laod the specified page.