mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-20 00:35:35 -05:00
refac
This commit is contained in:
@@ -1927,7 +1927,8 @@ export const initMermaid = async () => {
|
||||
mermaid.initialize({
|
||||
startOnLoad: false, // Should be false when using render API
|
||||
theme: document.documentElement.classList.contains('dark') ? 'dark' : 'default',
|
||||
securityLevel: 'loose'
|
||||
securityLevel: 'loose',
|
||||
htmlLabels: false
|
||||
});
|
||||
return mermaid;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user