diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 08:39:15 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 09:57:29 +0100 |
commit | cadb46d832724ea1a17b085b992142aa32e212be (patch) | |
tree | df1972470ab022e95ff5dc7866c78174c36bfa37 /client/src/app/core/auth/auth.service.ts | |
parent | c182778e26b8478fae9d7dd0bf0687baf7b72fd1 (diff) | |
download | PeerTube-cadb46d832724ea1a17b085b992142aa32e212be.tar.gz PeerTube-cadb46d832724ea1a17b085b992142aa32e212be.tar.zst PeerTube-cadb46d832724ea1a17b085b992142aa32e212be.zip |
Design second video upload step
Diffstat (limited to 'client/src/app/core/auth/auth.service.ts')
-rw-r--r-- | client/src/app/core/auth/auth.service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index fd2708c11..0db197f02 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts | |||
@@ -194,7 +194,6 @@ export class AuthService { | |||
194 | } | 194 | } |
195 | 195 | ||
196 | this.mergeUserInformation(obj) | 196 | this.mergeUserInformation(obj) |
197 | .do(() => this.userInformationLoaded.next(true)) | ||
198 | .subscribe( | 197 | .subscribe( |
199 | res => { | 198 | res => { |
200 | this.user.displayNSFW = res.displayNSFW | 199 | this.user.displayNSFW = res.displayNSFW |
@@ -203,6 +202,8 @@ export class AuthService { | |||
203 | this.user.account = res.account | 202 | this.user.account = res.account |
204 | 203 | ||
205 | this.user.save() | 204 | this.user.save() |
205 | |||
206 | this.userInformationLoaded.next(true) | ||
206 | } | 207 | } |
207 | ) | 208 | ) |
208 | } | 209 | } |