gamma-app-controller 2.0.0 → 2.0.1
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.
- package/esm2020/lib/template-module/KpiCreationModule/create-kpi-tree.component.mjs +5 -3
- package/fesm2015/gamma-app-controller.mjs +4 -2
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +4 -2
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -17393,6 +17393,7 @@ class CreateKpiTreeComponent {
|
|
|
17393
17393
|
});
|
|
17394
17394
|
}
|
|
17395
17395
|
makeNewKpiWithUserEntity() {
|
|
17396
|
+
const pageData = (this.selected_page_id) ? this.templateDataSource.find((item) => item.pageId === this.selected_page_id) : null;
|
|
17396
17397
|
let kpiObj = {
|
|
17397
17398
|
"kpiId": this.selected_id,
|
|
17398
17399
|
"kpiName": this.select_kpi_name,
|
|
@@ -17406,7 +17407,7 @@ class CreateKpiTreeComponent {
|
|
|
17406
17407
|
"externalKpi": this.kpi_external,
|
|
17407
17408
|
"target": "",
|
|
17408
17409
|
"icon": "",
|
|
17409
|
-
"url": "",
|
|
17410
|
+
"url": pageData ? pageData.pageUrl : "",
|
|
17410
17411
|
"kpiType": this.select_tag_type == "parent" ? "collapsable" : "basic",
|
|
17411
17412
|
"parentTid": this.selected_kpi_tid,
|
|
17412
17413
|
"childTid": this.selected_kpi_child_tid,
|
|
@@ -17440,6 +17441,7 @@ class CreateKpiTreeComponent {
|
|
|
17440
17441
|
this.isEditKpiAdded = true;
|
|
17441
17442
|
}
|
|
17442
17443
|
getUpdateKpi() {
|
|
17444
|
+
const pageData = (this.selected_page_id) ? this.templateDataSource.find((item) => item.pageId === this.selected_page_id) : null;
|
|
17443
17445
|
let kpiObj = {
|
|
17444
17446
|
"kpiId": this.selected_id,
|
|
17445
17447
|
"kpiName": this.select_kpi_name,
|
|
@@ -17453,7 +17455,7 @@ class CreateKpiTreeComponent {
|
|
|
17453
17455
|
"externalKpi": this.kpi_external,
|
|
17454
17456
|
"target": "",
|
|
17455
17457
|
"icon": "",
|
|
17456
|
-
"url": "",
|
|
17458
|
+
"url": pageData ? pageData.pageUrl : "",
|
|
17457
17459
|
"kpiType": this.select_tag_type == "parent" ? "collapsable" : "basic",
|
|
17458
17460
|
"parentTid": this.selected_kpi_tid,
|
|
17459
17461
|
"childTid": this.selected_kpi_child_tid,
|