cat-qw-lib 0.34.2 → 0.34.3

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.
@@ -2633,9 +2633,9 @@ class QueueAdminFormComponent extends BaseFormComponent {
2633
2633
  console.log(res);
2634
2634
  this.record = res;
2635
2635
  this.getApiProperties(res?.apiConfigId);
2636
- // this.query = res.rules ? structuredClone(res.rules) : { condition: SHARED.AND, rules: [] };
2637
- // this.fetchedProperties = res.properties;
2638
- // this.setupQueryBuilderConfig(this.fetchedProperties);
2636
+ this.query = res.rules ? structuredClone(res.rules) : { condition: SHARED.AND, rules: [] };
2637
+ this.fetchedProperties = res.properties;
2638
+ this.setupQueryBuilderConfig(this.fetchedProperties);
2639
2639
  }
2640
2640
  });
2641
2641
  }
@@ -2665,12 +2665,14 @@ class QueueAdminFormComponent extends BaseFormComponent {
2665
2665
  next: (res) => {
2666
2666
  if (res) {
2667
2667
  console.log(res);
2668
- this.fetchedProperties = res.properties;
2668
+ // this.fetchedProperties = res.properties;
2669
2669
  const updatedPropertyList = res.properties.map((value) => ({ value }));
2670
2670
  this.apiPropertyList = updatedPropertyList;
2671
- this.setupQueryBuilderConfig(res.properties);
2672
- console.log(res.rules);
2673
- this.query = structuredClone(res.rules || { condition: SHARED.AND, rules: [] });
2671
+ // this.setupQueryBuilderConfig(res.properties);
2672
+ // console.log(res.rules);
2673
+ // this.query = structuredClone(
2674
+ // res.rules || { condition: SHARED.AND, rules: [] }
2675
+ // );
2674
2676
  console.log(res.rules);
2675
2677
  console.log(this.query);
2676
2678
  console.log(this.config);