mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 00:01:49 +00:00
make appeditor & preview resilient to no css
This commit is contained in:
@@ -412,7 +412,9 @@
|
||||
css = currentAppStore.theme.css
|
||||
} else if (currentAppStore.theme.type === 'path' && currentAppStore.theme?.path) {
|
||||
let loadedCss = await getTheme($workspaceStore!, currentAppStore.theme.path)
|
||||
css = loadedCss.value
|
||||
if (loadedCss) {
|
||||
css = loadedCss.value
|
||||
}
|
||||
}
|
||||
lastTheme = JSON.stringify(currentAppStore.theme)
|
||||
}
|
||||
|
||||
@@ -133,7 +133,9 @@
|
||||
css = currentAppStore.theme.css
|
||||
} else if (currentAppStore.theme.type === 'path' && currentAppStore.theme.path) {
|
||||
let loadedCss = await getTheme(workspace, currentAppStore.theme.path)
|
||||
css = loadedCss.value
|
||||
if (loadedCss) {
|
||||
css = loadedCss.value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user