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; } }