Merge pull request #472 from hashicorp/fix-desktop-dark-mode
fix: 🐛 dark mode should persist
This commit is contained in:
1 file changed
+2
@@ -32,6 +32,8 @@ export default class ApplicationRoute extends Route.extend(
|
||||
* origin so that the renderer's CSP can be rewritten to allow requests.
|
||||
*/
|
||||
beforeModel() {
|
||||
const theme = this.session.get('data.theme');
|
||||
this.toggleTheme(theme);
|
||||
return this.origin.updateOrigin();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user