cat-qw-lib 0.34.1 → 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.
@@ -2630,6 +2630,7 @@ class QueueAdminFormComponent extends BaseFormComponent {
2630
2630
  if (id && id !== SHARED.ZERO.toString()) {
2631
2631
  this.service.getById(id).subscribe((res) => {
2632
2632
  if (res) {
2633
+ console.log(res);
2633
2634
  this.record = res;
2634
2635
  this.getApiProperties(res?.apiConfigId);
2635
2636
  this.query = res.rules ? structuredClone(res.rules) : { condition: SHARED.AND, rules: [] };
@@ -2663,12 +2664,15 @@ class QueueAdminFormComponent extends BaseFormComponent {
2663
2664
  this.queueService.getbyApiPath(apiConfigId).subscribe({
2664
2665
  next: (res) => {
2665
2666
  if (res) {
2666
- this.fetchedProperties = res.properties;
2667
+ console.log(res);
2668
+ // this.fetchedProperties = res.properties;
2667
2669
  const updatedPropertyList = res.properties.map((value) => ({ value }));
2668
2670
  this.apiPropertyList = updatedPropertyList;
2669
- this.setupQueryBuilderConfig(res.properties);
2670
- console.log(res.rules);
2671
- 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
+ // );
2672
2676
  console.log(res.rules);
2673
2677
  console.log(this.query);
2674
2678
  console.log(this.config);