From a39f2ad28f8510c482d7592a7fb18a877a1a50e2 Mon Sep 17 00:00:00 2001 From: sriram-at-840620226347 Date: Mon, 18 Nov 2019 18:56:03 +0530 Subject: [PATCH] product filter changes --- .../list-pd/edit-pd-master/edit-pd-master.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts index d74ee369b..b7191ea5b 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/edit-pd-master/edit-pd-master.component.ts @@ -223,9 +223,9 @@ if(!option){ return this.productAllList[findIndex]; }); // console.log('FilteredAbbr',FilteredAbbr); - this.productList = FilteredAbbr.length > 0 ? FilteredAbbr : this.productAllList; + // this.productList = FilteredAbbr.length > 0 ? FilteredAbbr : this.productAllList; - // this.productList = this.productAllList; + this.productList = this.productAllList; } else{ this.productList = this.productAllList; @@ -407,7 +407,7 @@ if(!option){ case 'LAEP': // console.log(2); this.customerSegmentList = this.customerSegmentAllList.filter(s => (s.customer_segment).includes('Self')); - this._EditPDtriggerForm.controls['fk_subproduct_id'].setValue(this.subProductList[0].subproduct_id); + // this._EditPDtriggerForm.controls['fk_subproduct_id'].setValue(this.subProductList[0].subproduct_id); if(this.lenderShortName == 'CLIX' && flag==2 ){ this._EditPDtriggerForm.controls['fk_customer_segment'].setValue('5'); } this.subProductList=[]; this.isSubproductShown = false;