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

Commit

Permalink
version 1.2.6 datahub session storage
Browse files Browse the repository at this point in the history
  • Loading branch information
NeeruAR committed Jul 14, 2022
1 parent 914714b commit e064124
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-smart-echart-widget",
"version": "1.2.5",
"version": "1.2.6",
"description": "This is an Angular 11 widget, which is designed to display the chart based on the REST data or Datahub.",
"author": "Neeru Arora - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down
2 changes: 1 addition & 1 deletion projects/gp-smart-echart-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-smart-echart-widget",
"version": "1.2.5",
"version": "1.2.6",
"description": "This is an Angular 11 widget, which is designed to display the chart based on the REST data or Datahub.",
"author": "Neeru Arora - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class GpSmartEchartWidgetComponent implements OnInit {
this.serviceData = await response.json();
this.isDatahubPostCall = true;
if (this.serviceData != null) {
getDataFromSession.push({ response: this.serviceData, url: userInput.datahubUrl });
getDataFromSession.push({ response: this.serviceData, url: userInput.sqlQuery });
sessionStorage.setItem('Chartsession', JSON.stringify(getDataFromSession));
sessionStorage.setItem('serviceRunning', JSON.stringify('false'));
}
Expand Down Expand Up @@ -286,7 +286,7 @@ export class GpSmartEchartWidgetComponent implements OnInit {
this.serviceData = await response.json();
this.isDatahubPostCall = true;
if (this.serviceData !== null) {
temp.push({ response: this.serviceData, url: userInput.datahubUrl });
temp.push({ response: this.serviceData, url: userInput.sqlQuery });
this.setDataInSessionStorage('Chartsession', temp);
this.setDataInSessionStorage('serviceRunning', 'false');
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/cumulocity.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"manifest": {
"noAppSwitcher": true,
"requiredPlatformVersion": ">=1011.0.0",
"version":"1.2.5",
"version":"1.2.6",
"author":"Software AG, Global Presales",
"description": "This is an Angular 11 widget, which is designed to display the chart based on the REST data or Datahub.",
"license": "Apache 2.0"
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": "smart-echart-runtime-widget-CustomWidget",
"dist/bundle-src/custom-widget.js": "smart-echart-runtime-widget-CustomWidget"
},
"version": "1.2.5",
"version": "1.2.6",
"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 e064124

Please sign in to comment.