diff --git a/src/services/environment.service.ts b/src/services/environment.service.ts index 44b770673b..cfc6a5e6c0 100644 --- a/src/services/environment.service.ts +++ b/src/services/environment.service.ts @@ -87,7 +87,9 @@ export class EnvironmentService implements EnvironmentServiceAbstraction { } await this.apiService.setUrls(envUrls); - this.notificationsService.init(this); + if (this.notificationsService != null) { + this.notificationsService.init(this); + } return urls; }