SenseNet / sn-client

Monorepo for sensenet client packages 🐱‍💻
https://sensenet.com
GNU General Public License v2.0
25 stars 37 forks source link

[BUG] Assigning wrong value to theme results in white screen #202

Closed kultsar closed 5 years ago

kultsar commented 5 years ago

🐜 Bug Report

When the user assigns a wrong value to theme in personal settings, white screen follows, and the local storage must be deleted in order to access the app again.

📦 Package / Application

sn-app

📃 Version

0.2.0

🐜 Describe the bug

When the user assigns a wrong value to theme in personal settings, white screen follows, and the local storage must be deleted in order to access the app again.

👉 Steps To Reproduce

  1. Change theme to "wrongvalue"
  2. Save

😯 Current behavior

White page

🤔 Expected behavior

Perhaps system should default to a theme

🖼 Screenshots

https://www.screencast.com/t/XvsjZhrnrPn

💻 Code sample (for developers)

🌍 Your Environment (for developers)

Software Version(s)
Language (js/ts)
Operating System
NPM/Node/Yarn
Bundler

🌍 Your environment (for apps / examples)

🗨 Additional context

gallayl commented 5 years ago

fixed in the referenced PR