From ab9efcea777187bf6f945c80d0ced46078c250b9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 22 Dec 2022 15:12:30 +0100 Subject: [PATCH] web/elements: fix log level for diagram Signed-off-by: Jens Langhammer --- web/src/elements/Diagram.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/elements/Diagram.ts b/web/src/elements/Diagram.ts index e54f7c350..5a9c1fffc 100644 --- a/web/src/elements/Diagram.ts +++ b/web/src/elements/Diagram.ts @@ -35,7 +35,7 @@ export class Diagram extends AKElement { const matcher = window.matchMedia("(prefers-color-scheme: light)"); const handler = (ev?: MediaQueryListEvent) => { mermaid.initialize({ - logLevel: 3, + logLevel: "fatal", startOnLoad: false, theme: ev?.matches || matcher.matches ? "default" : "dark", flowchart: {