diff --git a/src/app/pages/marketdetail/marketdetail.page.ts b/src/app/pages/marketdetail/marketdetail.page.ts index 4b2fd90..a8267cf 100644 --- a/src/app/pages/marketdetail/marketdetail.page.ts +++ b/src/app/pages/marketdetail/marketdetail.page.ts @@ -41,7 +41,7 @@ export class MarketdetailPage implements OnInit { this.offer_code = this.jobData.offer_code; this.offer_depend_uid = this.jobData.offer_depend_uid; - if ( this.offer_depend_uid !=''){ + if ( this.offer_depend_uid != null && this.offer_depend_uid.length > 10){ const linkedJobList = this.marketDataService.filterDependJob(this.offer_depend_uid); if (linkedJobList?.length> 0){ this.linkedJob = linkedJobList[0];