offer init

This commit is contained in:
CHIEFSOFT\ameye
2024-09-28 07:23:28 -04:00
parent e1587b028e
commit e0499761de
@@ -29,7 +29,7 @@ export class OffersReceivedComponent implements OnInit {
private loadingCtrl: LoadingController,
public bannersDataService: BannersDataService
) {
// this.getMyOffersData();
this.session_image_server = this.sessionDataProviderService.session_image_server;
setInterval(()=>{
this.reduceOfferData(); // = this.bannersDataService.offerData;
@@ -39,7 +39,7 @@ export class OffersReceivedComponent implements OnInit {
}
ngOnInit() {
this.reduceOfferData();
}
session_image_server:string='';
@@ -146,7 +146,7 @@ if ( this.currOpenOffer != '' && this.currOpenOffer == item.offer_uid){
else{
this.offerDataReduced = this.offerData;
}
this.total_offers = this.offerData.length;
this.total_offers = this.offerData?.length;
}
responseData: {