diff --git a/apps/dashboard/js/dashboard.js b/apps/dashboard/js/dashboard.js index 12e3adf14073226d8fcd8303b326ce3736487e31..6b3e5d02a2cf5f4fee38855bbd9a02c3f3e1c156 100644 Binary files a/apps/dashboard/js/dashboard.js and b/apps/dashboard/js/dashboard.js differ diff --git a/apps/dashboard/js/dashboard.js.map b/apps/dashboard/js/dashboard.js.map index 311c505b5219bf60b8592f02abb3b0d28493ad2a..03b5c6c2f0674806c9cfea23d69ba5dc0b602cc6 100644 Binary files a/apps/dashboard/js/dashboard.js.map and b/apps/dashboard/js/dashboard.js.map differ diff --git a/apps/dashboard/src/helpers/getBackgroundUrl.js b/apps/dashboard/src/helpers/getBackgroundUrl.js index 3af48030534e4e47d9cd8cb35f24b0032aa68f36..814b35f01b75f929e219ee7e665d597b8fd7c78a 100644 --- a/apps/dashboard/src/helpers/getBackgroundUrl.js +++ b/apps/dashboard/src/helpers/getBackgroundUrl.js @@ -28,7 +28,7 @@ export default (background, time = 0, themingDefaultBackground = '') => { if (themingDefaultBackground && themingDefaultBackground !== 'backgroundColor') { return generateUrl('/apps/theming/image/background') + '?v=' + window.OCA.Theming.cacheBuster } - if (window.OCA.Accessibility.theme === 'dark') { + if (window.OCA.Accessibility && window.OCA.Accessibility.theme === 'dark') { return prefixWithBaseUrl('eduardo-neves-pedra-azul.jpg') } return prefixWithBaseUrl('kamil-porembinski-clouds.jpg')