Skip to content
Snippets Groups Projects
Commit 6e4a0d40 authored by HJ's avatar HJ :fire:
Browse files

Merge branch 'fix-fix-themes' into 'develop'

fallback if shadows aren't defined

See merge request pleroma/pleroma-fe!1337
parents 11963de2 2576b750
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@ export const generateShadows = (input, colors) => {
}
const cleanInputShadows = Object.fromEntries(
Object.entries(input.shadows)
Object.entries(input.shadows || {})
.map(([name, shadowSlot]) => [
name,
// defaulting color to black to avoid potential problems
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment