Fix for non-logged-in user theme.

Fixes #338
This commit is contained in:
Dessalines 2019-11-13 14:03:09 -08:00
parent ce83e5a0de
commit 062d7f2af4

View file

@ -17,9 +17,7 @@ export class UserService {
if (jwt) { if (jwt) {
this.setUser(jwt); this.setUser(jwt);
} else { } else {
if (this.user.theme != 'darkly') {
setTheme(); setTheme();
}
console.log('No JWT cookie found.'); console.log('No JWT cookie found.');
} }
} }