Skip to content

Commit

Permalink
refs #70 avoid errors when accessibility app is disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
  • Loading branch information
Julien Veyssier committed Aug 6, 2021
1 parent 710dc9d commit 36bb6f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SharingTabSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export default {
groupIconUrl: generateUrl('/svg/core/actions/group?color=000000'),
passwordIconUrl: generateUrl('/svg/core/actions/password?color=000000'),
circleIconUrl: generateUrl('/svg/circles/circles?color=000000'),
circleMultiselectIconUrl: OCA.Accessibility.theme === 'dark'
circleMultiselectIconUrl: OCA.Accessibility?.theme === 'dark'
? generateUrl('/svg/circles/circles?color=ffffff')
: generateUrl('/svg/circles/circles?color=000000'),
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default {
cospendUrl: generateUrl('/apps/cospend'),
loop: null,
state: 'loading',
darkThemeColor: OCA.Accessibility.theme === 'dark' ? '181818' : 'ffffff',
darkThemeColor: OCA.Accessibility?.theme === 'dark' ? '181818' : 'ffffff',
windowVisibility: true,
}
},
Expand Down

0 comments on commit 36bb6f7

Please sign in to comment.