1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-16 13:55:52 +02:00

null check notificationsService

This commit is contained in:
Kyle Spearrin 2018-08-20 17:08:19 -04:00
parent bba52192dc
commit 21e0953589

View File

@ -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;
}