mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-29 11:31:32 +00:00
suppress mermaidjs errors (#7388)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
parent
52b21efee7
commit
e41a6fee14
@ -329,7 +329,8 @@ async function renderMermaidDiagram (code: string, theme: MermaidConfig['theme']
|
||||
securityLevel: 'loose',
|
||||
fontFamily: 'var(--font-family)',
|
||||
logLevel: 5,
|
||||
theme
|
||||
theme,
|
||||
suppressErrorRendering: true
|
||||
})
|
||||
|
||||
const id = `mermaid-diagram-${Math.random().toString(36).substring(2, 9)}`
|
||||
|
Loading…
Reference in New Issue
Block a user