Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from SoftwareAG/2.1.1
Browse files Browse the repository at this point in the history
updated with minor fixes
  • Loading branch information
DarpanLalani committed Jan 4, 2023
2 parents e3441d8 + 00a8064 commit 743f947
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/gp-smart-map/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-smart-map",
"version": "2.1.0",
"version": "2.1.1",
"description": "The Smart Map widget help you to track real-time device locations in indoor with multi floor infrastructure as well as in outdoor. Smart Map also support real-time Heat map for Indoor and outdoor location events.",
"author": "Darpankumar Lalani - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export class GPSmartMapConfigComponent implements OnInit, OnDestroy, DoCheck {

this.loadFloorPlanTypes();
this.appId = this.cmonSvc.getAppId();
this.appId = '121';
if (!this.config.dashboardList && this.appId) {
const dashboardObj: DashboardConfig = {};
dashboardObj.type = 'All';
Expand Down Expand Up @@ -213,7 +212,7 @@ export class GPSmartMapConfigComponent implements OnInit, OnDestroy, DoCheck {
this.devicesToGetChildList = [];
this.deviceTypes = null;
this.hierarchyLevel = (this.config.hierarchyLevel ? parseInt(this.config.hierarchyLevel): 0);
await this.getChildDevicesAssets( { id: '8200', level: 0 }, -1);
await this.getChildDevicesAssets( { id: this.config?.device?.id, level: 0 }, -1);
if(this.deviceAssetList.length > 0) {
this.deviceTypes = Array.from(new Set(this.deviceAssetList.map(item => item.type)));
this.deviceTypes = this.deviceTypes.filter(n => n);
Expand Down
2 changes: 1 addition & 1 deletion runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dist\\bundle-src\\custom-widget.js": "smartmap-runtime-widget-CustomWidget",
"dist/bundle-src/custom-widget.js": "smartmap-runtime-widget-CustomWidget"
},
"version": "2.1.0",
"version": "2.1.1",
"description": "Runtime package.json for library widget (written by Software AG Global Presales)",
"author": "Darpankumar Lalani - Software AG, Global Presales",
"license": "Apache 2.0"
Expand Down

0 comments on commit 743f947

Please sign in to comment.