mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 16:59:48 +02:00
Update packages/mermaid/src/diagrams/block/blockDB.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -83,7 +83,7 @@ export const setCssClass = function (itemIds: string, cssClassName: string) {
|
||||
});
|
||||
};
|
||||
|
||||
const populateBlockDatabase = (_blockList: Block[], parent: Block): void => {
|
||||
const populateBlockDatabase = (_blockList: (Block[] | Block[][]), parent: Block): void => {
|
||||
const blockList = _blockList.flat();
|
||||
const children = [];
|
||||
for (const block of blockList) {
|
||||
|
Reference in New Issue
Block a user