App bootstrap fails if system is set to dark and there is no dark theme #10657
Labels
Priority:p2-high
Escalation, on top of current planning, release blocker
Type:Bug
Something isn't working
Describe the bug
Given an ownCloud instance with only a light theme fails in app bootstrap if the operating system is set to dark mode.
(also happens the other way around, only a dark theme but system is set to light mode)
Steps to reproduce
Expected behavior
The ownCloud page you tried to open loads like it should, rendered with the only available theme.
Actual behavior
Missing or invalid config
page is shownAdditional context
Happens on
stable-8.0
(I didn't test if it also happens onmaster
).This is the line where it fails:
web/packages/web-pkg/src/composables/piniaStores/theme.ts
Line 107 in 4155b81
The text was updated successfully, but these errors were encountered: