gamma-app-controller 2.0.4 → 2.0.5
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 +3 -3
- package/fesm2015/gamma-app-controller.mjs +2 -2
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +2 -2
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -17618,7 +17618,7 @@ class CreateKpiTreeComponent {
|
|
|
17618
17618
|
}
|
|
17619
17619
|
getEditableKpi(kpi) {
|
|
17620
17620
|
const data = this.kpiConfigDataSource.find((item) => item.kpiId === kpi.id);
|
|
17621
|
-
const tidKey = data.tagType === 'child' && data.childTid.length > 3 ? 'childTid' : 'parentTid';
|
|
17621
|
+
const tidKey = data.tagType === 'child' && data.childTid && data.childTid.length > 3 ? 'childTid' : 'parentTid';
|
|
17622
17622
|
const parentName = this.keiParentDataSource.find((item) => item[tidKey] == data["parentTid"]);
|
|
17623
17623
|
this.parante_kpi_name = parentName ? parentName['kpiId'] : null;
|
|
17624
17624
|
this.selected_id = data["kpiId"];
|
|
@@ -17760,7 +17760,7 @@ class CreateKpiTreeComponent {
|
|
|
17760
17760
|
icon: menu.icon,
|
|
17761
17761
|
type: menu.kpiType,
|
|
17762
17762
|
tagType: menu.tagType,
|
|
17763
|
-
visibility:
|
|
17763
|
+
visibility: true,
|
|
17764
17764
|
...(menu.link && { link: menu.link.replace(/^\/+/, '') }),
|
|
17765
17765
|
children: []
|
|
17766
17766
|
});
|