ato-water-lib 0.0.41 → 0.0.43

Sign up to get free protection for your applications and to get access to all the features.
@@ -6770,7 +6770,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
6770
6770
  waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
6771
6771
  },
6772
6772
  [ENUM_ASSET_PARAMETERS.KPI_ATP]: {
6773
- name: 'APT',
6773
+ name: 'ATP',
6774
6774
  key: ENUM_ASSET_PARAMETERS.KPI_ATP,
6775
6775
  waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
6776
6776
  },
@@ -8102,7 +8102,7 @@ class AssetFlowComponent {
8102
8102
  // const layer = data?.assetLayer ?? this?.assetLayer ?? ATO_ASSET_LAYERS.FLOW;
8103
8103
  _.forEach(data.nodeDataArray, (node) => {
8104
8104
  if (node === null || node === void 0 ? void 0 : node.assetLayers) {
8105
- node.visible = (node === null || node === void 0 ? void 0 : node.assetLayers) === this.assetLayer;
8105
+ node.visible = (node === null || node === void 0 ? void 0 : node.assetLayers) === data.assetLayer;
8106
8106
  }
8107
8107
  });
8108
8108
  this.flowData = Object.assign({}, data);