Show active market task logic
This commit is contained in:
@@ -68,8 +68,12 @@ export class MarketdetailPage implements OnInit {
|
|||||||
this.wrenchService.verifyJobCompleted(linkedJobRedData).subscribe(
|
this.wrenchService.verifyJobCompleted(linkedJobRedData).subscribe(
|
||||||
reqVerifyResult => {
|
reqVerifyResult => {
|
||||||
this.reqVerifyResult = reqVerifyResult;
|
this.reqVerifyResult = reqVerifyResult;
|
||||||
|
// debugger;
|
||||||
const completedList = this.reqVerifyResult.result_list.filter((item)=>( item.job_uid == '"+linkedJobUid+"' ) );
|
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;
|
this.jobOpen= true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user