Fix for non-logged-in user theme.

Fixes #338
pull/722/head
Dessalines 2019-11-13 14:03:09 -08:00
parent 7202491c7e
commit cd7d3e3fd7
1 changed files with 1 additions and 3 deletions

View File

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