More bug fixes
This commit is contained in:
1 parent
61ab2b19e3
commit
b7e9dded34
2 files changed
+2
-4
No files matched your search
@@ -607,7 +607,7 @@ function newSuperalgosDocsDocumentPage() {
|
||||
*/
|
||||
let paragraph
|
||||
let key = 'auto-generated-paragraph-' + autoGeneratedParagraphIndex
|
||||
if (appSchemaDocument === undefined || appSchemaDocument.menuItems === undefined) { return }
|
||||
if (appSchemaDocument === undefined || appSchemaDocument.menuItems === undefined || appSchemaDocument.menuItems.length === 0) { return }
|
||||
|
||||
paragraph = {
|
||||
style: "Title",
|
||||
@@ -660,7 +660,7 @@ function newSuperalgosDocsDocumentPage() {
|
||||
let paragraph
|
||||
let key = 'auto-generated-paragraph-' + autoGeneratedParagraphIndex
|
||||
|
||||
if (appSchemaDocument === undefined || appSchemaDocument.childrenNodesProperties === undefined) { return }
|
||||
if (appSchemaDocument === undefined || appSchemaDocument.childrenNodesProperties === undefined || appSchemaDocument.childrenNodesProperties.length === 0) { return }
|
||||
|
||||
paragraph = {
|
||||
style: "Title",
|
||||
|
||||
@@ -293,9 +293,7 @@ function newSuperalgosUtilitiesDocs() {
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
function addCodeToWhiteList(text) {
|
||||
|
||||
let result = text
|
||||
.replaceAll('true', '<code class="docs-code">true</code>')
|
||||
.replaceAll('false', '<code class="docs-code">false</code>')
|
||||
|
||||
Reference in new issue
Block a user