.
This commit is contained in:
parent
25f64ec690
commit
ff1f474324
1 changed files with 3271 additions and 2003 deletions
|
|
@ -59,12 +59,16 @@ export class ServerConfig {
|
|||
return config;
|
||||
})
|
||||
.catch((error: unknown) => {
|
||||
if (this.config === pending) this.config = undefined;
|
||||
if (this.config === pending) {
|
||||
this.config = undefined;
|
||||
}
|
||||
|
||||
throw error;
|
||||
});
|
||||
|
||||
this.config = pending;
|
||||
}
|
||||
|
||||
return this.config;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue