Show active market task logic

This commit is contained in:
CHIEFSOFT\ameye
2024-08-23 15:04:51 -04:00
parent 8d570810de
commit 4850a969c2
@@ -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;
}
}