From 062d7f2af427fac972dba77597dd8d09790c6580 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 13 Nov 2019 14:03:09 -0800 Subject: [PATCH] Fix for non-logged-in user theme. Fixes #338 --- ui/src/services/UserService.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/services/UserService.ts b/ui/src/services/UserService.ts index b6d8b76..cdb340b 100644 --- a/ui/src/services/UserService.ts +++ b/ui/src/services/UserService.ts @@ -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.'); } }