offer init
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user