aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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()