[bug] Set all urls when setting urls from storage (#628)

This commit is contained in:
Addison Beck 2022-01-24 07:28:51 -05:00 committed by GitHub
parent 074f1ee7b7
commit 1747f4d9e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -116,11 +116,7 @@ export class EnvironmentService implements EnvironmentServiceAbstraction {
const urls: any = await this.stateService.getEnvironmentUrls();
const envUrls = new EnvironmentUrls();
if (urls.base) {
this.baseUrl = envUrls.base = urls.base;
return;
}
this.webVaultUrl = urls.webVault;
this.apiUrl = envUrls.api = urls.api;
this.identityUrl = envUrls.identity = urls.identity;