diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-09 13:38:53 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-09 13:38:53 +0100 |
commit | 4b57ebdfe69e862373908590b0cf781ab0d71a02 (patch) | |
tree | 38d766d98ad5b18515ea775d88490efdc1ea566d /client/src/app/core | |
parent | 7e44bd4a6f39373ef1751d4d19cdcf7de65bdcf9 (diff) | |
download | PeerTube-4b57ebdfe69e862373908590b0cf781ab0d71a02.tar.gz PeerTube-4b57ebdfe69e862373908590b0cf781ab0d71a02.tar.zst PeerTube-4b57ebdfe69e862373908590b0cf781ab0d71a02.zip |
Fix theme update when logged in
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/theme/theme.service.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/app/core/theme/theme.service.ts b/client/src/app/core/theme/theme.service.ts index c9e6fa700..ac3468941 100644 --- a/client/src/app/core/theme/theme.service.ts +++ b/client/src/app/core/theme/theme.service.ts | |||
@@ -141,7 +141,6 @@ export class ThemeService { | |||
141 | } | 141 | } |
142 | 142 | ||
143 | this.auth.userInformationLoaded | 143 | this.auth.userInformationLoaded |
144 | .pipe(first()) | ||
145 | .subscribe(() => this.updateCurrentTheme()) | 144 | .subscribe(() => this.updateCurrentTheme()) |
146 | } | 145 | } |
147 | 146 | ||