cat-qw-lib 0.47.5 → 0.47.7

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.
@@ -167,6 +167,8 @@ class SHARED {
167
167
  static DIRECT_DEBITID = 'Direct DebitId';
168
168
  static DIRECT_DEBIT = 'directdebit';
169
169
  static SOLICITOR = 'solicitor';
170
+ static PRODUCT = 'product';
171
+ static PRODUCT_ID = 'ProductId';
170
172
  }
171
173
  const statusList = [
172
174
  { name: 'All' },
@@ -4227,6 +4229,9 @@ class WidgetItemComponent {
4227
4229
  const solicitor = this.widget.dataItems.filter((val) => val.key === SHARED.SOLICITORID);
4228
4230
  widgetItem.value = solicitor[0].value;
4229
4231
  break;
4232
+ case SHARED.PRODUCT:
4233
+ const product = this.widget.dataItems.filter((val) => val.key === SHARED.PRODUCT_ID);
4234
+ widgetItem.value = product[0].value;
4230
4235
  }
4231
4236
  this.widgetStore.setOnWidgetItemClick(widgetItem);
4232
4237
  }
@@ -4287,10 +4292,8 @@ class WidgetContainerComponent {
4287
4292
  ngOnInit() {
4288
4293
  this.handleEventFromPropertyDetails();
4289
4294
  this.handleOnViewAllDetails();
4290
- // const queueId = localStorage.getItem(SHARED.selectedQueue);
4291
- // const recordId = this.activatedRoute.snapshot.params[SHARED.ID];
4292
- const queueId = "67bdbab33fb4248b172c462e";
4293
- const recordId = "67bda64fde64d8e16fa79387";
4295
+ const queueId = localStorage.getItem(SHARED.selectedQueue);
4296
+ const recordId = this.activatedRoute.snapshot.params[SHARED.ID];
4294
4297
  if (!queueId || !recordId) {
4295
4298
  console.error(ERROR.ERROR_MISSING_PARAMETERS, {
4296
4299
  queueId: queueId || SHARED.MISSING_QUEUE_ID,