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.
@@ -6740,7 +6740,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
6740
6740
  waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
6741
6741
  },
6742
6742
  [ENUM_ASSET_PARAMETERS.KPI_ATP]: {
6743
- name: 'APT',
6743
+ name: 'ATP',
6744
6744
  key: ENUM_ASSET_PARAMETERS.KPI_ATP,
6745
6745
  waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS,
6746
6746
  },
@@ -8256,7 +8256,7 @@ class AssetFlowComponent {
8256
8256
  // const layer = data?.assetLayer ?? this?.assetLayer ?? ATO_ASSET_LAYERS.FLOW;
8257
8257
  _.forEach(data.nodeDataArray, (node) => {
8258
8258
  if (node?.assetLayers) {
8259
- node.visible = node?.assetLayers === this.assetLayer;
8259
+ node.visible = node?.assetLayers === data.assetLayer;
8260
8260
  }
8261
8261
  });
8262
8262
  this.flowData = {