aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/server/server.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-17 15:34:42 +0100
committerChocobozzz <me@florianbigard.com>2020-02-17 15:34:42 +0100
commit2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89 (patch)
treea814ca1ab71078abe008dae7afc646fb388ca1d8 /client/src/app/core/server/server.service.ts
parent8d3fe90c3f3bfd43366ea41a2519431b9001e744 (diff)
parent1c5fbed2093c0462e40a092d49d761a043c50e98 (diff)
downloadPeerTube-2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89.tar.gz
PeerTube-2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89.tar.zst
PeerTube-2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89.zip
Merge branch 'release/2.1.0' into develop
Diffstat (limited to 'client/src/app/core/server/server.service.ts')
-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 c0e1f08bb..e015d0e14 100644
--- a/client/src/app/core/server/server.service.ts
+++ b/client/src/app/core/server/server.service.ts
@@ -168,8 +168,11 @@ export class ServerService {
168 if (!this.configObservable) { 168 if (!this.configObservable) {
169 this.configObservable = this.http.get<ServerConfig>(ServerService.BASE_CONFIG_URL) 169 this.configObservable = this.http.get<ServerConfig>(ServerService.BASE_CONFIG_URL)
170 .pipe( 170 .pipe(
171 tap(this.saveConfigLocally), 171 tap(config => this.saveConfigLocally(config)),
172 tap(() => this.configLoaded = true), 172 tap(config => {
173 this.config = config
174 this.configLoaded = true
175 }),
173 tap(() => { 176 tap(() => {
174 if (this.configReset) { 177 if (this.configReset) {
175 this.configReloaded.next() 178 this.configReloaded.next()