Skip to content

Commit cb6c8bc

Browse files
committed
fix the plus between documentationTypes and \n\n
1 parent fcdb872 commit cb6c8bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/exportAs/documentation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ export function jsonToDocumentation(obj) {
6565
`## Introduction\n\n## Database type\n\n- **Database system:** `+
6666
`${databases[obj.database].name}\n## Table structure\n\n${documentationEntities}`+
6767
`\n## Relationships\n\n${documentationRelationships}\n` +
68-
`${databases[obj.database].hasTypes && obj.types.length > 0 ? `## Types\n\n` + documentationTypes`\n\n` : "" }` +
68+
`${databases[obj.database].hasTypes && obj.types.length > 0 ? `## Types\n\n` + documentationTypes + `\n\n` : "" }` +
6969
`## Database Diagram\n\n\`\`\`mermaid\n${jsonToMermaid(obj)}\n\`\`\``;
7070
}

0 commit comments

Comments
 (0)