|
|
@ -52,8 +52,11 @@ export class LandingPageComponent implements OnDestroy, OnInit {
|
|
|
|
private dataService: DataService,
|
|
|
|
private dataService: DataService,
|
|
|
|
private deviceService: DeviceDetectorService
|
|
|
|
private deviceService: DeviceDetectorService
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
const { countriesOfSubscribers, globalPermissions, statistics } =
|
|
|
|
const {
|
|
|
|
this.dataService.fetchInfo();
|
|
|
|
countriesOfSubscribers = [],
|
|
|
|
|
|
|
|
globalPermissions,
|
|
|
|
|
|
|
|
statistics
|
|
|
|
|
|
|
|
} = this.dataService.fetchInfo();
|
|
|
|
|
|
|
|
|
|
|
|
for (const country of countriesOfSubscribers) {
|
|
|
|
for (const country of countriesOfSubscribers) {
|
|
|
|
this.countriesOfSubscribersMap[country] = {
|
|
|
|
this.countriesOfSubscribersMap[country] = {
|
|
|
|