aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-27 09:09:50 +0100
committerChocobozzz <me@florianbigard.com>2020-02-27 09:09:50 +0100
commit16ec5e0833a4f72e75ca2a4f4be00f0453c68c80 (patch)
tree5b33355cebd25e57cf4695ac59ada14c087c083c /client/src/app/core
parente81871782db9927b2eb14b5deeb03b4e7b3cce0a (diff)
parent195ba6cdf38f4515a514cf8432930576539b0a04 (diff)
downloadPeerTube-16ec5e0833a4f72e75ca2a4f4be00f0453c68c80.tar.gz
PeerTube-16ec5e0833a4f72e75ca2a4f4be00f0453c68c80.tar.zst
PeerTube-16ec5e0833a4f72e75ca2a4f4be00f0453c68c80.zip
Merge branch 'release/2.1.0'
Diffstat (limited to 'client/src/app/core')
-rw-r--r--client/src/app/core/server/server.service.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts
index cdcbcb528..3997ce6db 100644
--- a/client/src/app/core/server/server.service.ts
+++ b/client/src/app/core/server/server.service.ts
@@ -159,8 +159,11 @@ export class ServerService {
159 if (!this.configObservable) { 159 if (!this.configObservable) {
160 this.configObservable = this.http.get<ServerConfig>(ServerService.BASE_CONFIG_URL) 160 this.configObservable = this.http.get<ServerConfig>(ServerService.BASE_CONFIG_URL)
161 .pipe( 161 .pipe(
162 tap(this.saveConfigLocally), 162 tap(config => this.saveConfigLocally(config)),
163 tap(() => this.configLoaded = true), 163 tap(config => {
164 this.config = config
165 this.configLoaded = true
166 }),
164 tap(() => { 167 tap(() => {
165 if (this.configReset) { 168 if (this.configReset) {
166 this.configReloaded.next() 169 this.configReloaded.next()