summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-10-05 09:17:23 +0200
committerJulius Härtl <jus@bitgrid.net>2020-10-05 09:25:22 +0200
commitb76ea9d6d1d3c0c9611deb655e8b871b497a1951 (patch)
tree7f92bb84cb5bf95daeb812254a3335407fc00d89 /apps/dashboard/src
parentb186852f9d387ac3517ae62804d5b81f178376c9 (diff)
downloadnextcloud-server-b76ea9d6d1d3c0c9611deb655e8b871b497a1951.tar.gz
nextcloud-server-b76ea9d6d1d3c0c9611deb655e8b871b497a1951.zip
Fix dashboard rendering if accessibility app is disabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard/src')
-rw-r--r--apps/dashboard/src/App.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue
index 5f10b83da7a..64a480e3e60 100644
--- a/apps/dashboard/src/App.vue
+++ b/apps/dashboard/src/App.vue
@@ -143,7 +143,7 @@ export default {
statuses: {},
background,
version,
- defaultBackground: window.OCA.Accessibility.theme === 'dark' ? prefixWithBaseUrl('flickr-148302424@N05-36591009215.jpg?v=1') : prefixWithBaseUrl('flickr-paszczak000-8715851521.jpg?v=1'),
+ defaultBackground: window.OCA.Accessibility?.theme === 'dark' ? prefixWithBaseUrl('flickr-148302424@N05-36591009215.jpg?v=1') : prefixWithBaseUrl('flickr-paszczak000-8715851521.jpg?v=1'),
}
},
computed: {