kwikid-agent-dashboard 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1067,7 +1067,6 @@
1067
1067
 
1068
1068
  var KwikIDAgentDashboardComponent = /** @class */ (function () {
1069
1069
  function KwikIDAgentDashboardComponent(mapService, httpClient, hostElement, dialogService) {
1070
- var _a, _b;
1071
1070
  this.mapService = mapService;
1072
1071
  this.httpClient = httpClient;
1073
1072
  this.hostElement = hostElement;
@@ -1517,15 +1516,9 @@
1517
1516
  this.open = false;
1518
1517
  this.allFormsData = {};
1519
1518
  this.String = String;
1520
- if (((_b = (_a = this.agentConfig) === null || _a === void 0 ? void 0 : _a.dashboardConfig) === null || _b === void 0 ? void 0 : _b.showMaps) == true) {
1521
- var DSLScript = document.createElement('script');
1522
- DSLScript.src = this.agentConfig.googleMapsAPI;
1523
- DSLScript.type = 'text/javascript';
1524
- document.body.appendChild(DSLScript);
1525
- this.apiLoaded = httpClient
1526
- .jsonp('https://maps.googleapis.com/maps/api/js?key=AIzaSyA63JY0ja6ZGIR796vJqZARc0c2j8Vgpik&v=3.exp&libraries=geometry,drawing,places', 'callback')
1527
- .pipe(operators.map(function () { return true; }), operators.catchError(function () { return rxjs.of(false); }));
1528
- }
1519
+ this.apiLoaded = httpClient
1520
+ .jsonp('https://maps.googleapis.com/maps/api/js?key=AIzaSyA63JY0ja6ZGIR796vJqZARc0c2j8Vgpik&v=3.exp&libraries=geometry,drawing,places', 'callback')
1521
+ .pipe(operators.map(function () { return true; }), operators.catchError(function () { return rxjs.of(false); }));
1529
1522
  }
1530
1523
  KwikIDAgentDashboardComponent.prototype.ngOnInit = function () {
1531
1524
  var _a, _b, _c, _d, _e, _f;