From 4850a969c2d7544d6f9753f4c0c50bd00a0969fb Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 23 Aug 2024 15:04:51 -0400 Subject: [PATCH] Show active market task logic --- src/app/pages/marketdetail/marketdetail.page.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/pages/marketdetail/marketdetail.page.ts b/src/app/pages/marketdetail/marketdetail.page.ts index a8267cf..3baebd2 100644 --- a/src/app/pages/marketdetail/marketdetail.page.ts +++ b/src/app/pages/marketdetail/marketdetail.page.ts @@ -68,8 +68,12 @@ export class MarketdetailPage implements OnInit { this.wrenchService.verifyJobCompleted(linkedJobRedData).subscribe( reqVerifyResult => { this.reqVerifyResult = reqVerifyResult; + // debugger; const completedList = this.reqVerifyResult.result_list.filter((item)=>( item.job_uid == '"+linkedJobUid+"' ) ); - if(completedList?.length > 0 ){ + // if(completedList?.length > 0 ){ + // this.jobOpen= true; + // } + if(this.reqVerifyResult?.checked_value == true ){ this.jobOpen= true; } }