mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: theme
This commit is contained in:
@@ -396,6 +396,10 @@
|
||||
};
|
||||
|
||||
onMount(async () => {
|
||||
if (typeof window !== 'undefined' && window.applyTheme) {
|
||||
window.applyTheme();
|
||||
}
|
||||
|
||||
if (window?.electronAPI) {
|
||||
const info = await window.electronAPI.send({
|
||||
type: 'app:info'
|
||||
|
||||
Reference in New Issue
Block a user