plane
plane copied to clipboard
[bug]: Choosing custom theme and navigating away from preferences results in client side error, unrecoverable
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
I have a clean test install of plane@latest. Clicking around to see what is possible, I clicked on Preference, Themes and selected the custom theme option. Then I navigated away without saving anything and got an error pointing to this code:
o = (e, t) => {
var r;
let n = null === (r = document) || void 0 === r ? void 0 : r.querySelector("[data-theme='custom']"),
o = e.split(",");
o.push(t ? "dark" : "light");
let a = i(o[0]),
s = i(o[1]),
The error refers to e.split being undefined.
Now, no matter which route I try to go to, I get a client side exception and I can't reset the theme setting. So I am basically locked out of my account.
Steps to reproduce
- Clean install
-
User preferences > Theme options
- Select custom theme
- Navigate away without changing or saving anything
- See client side exception
Browser
Safari
Version
Self-hosted
The solution is here #2975
I have also experienced it.
I will do that, thanks for linking.