Loading shop/mobile-ionic/src/app/pages/+invite/+by-location/by-location.page.ts +5 −5 Original line number Diff line number Diff line Loading @@ -282,10 +282,12 @@ export class ByLocationPage implements OnInit, OnDestroy { let coordinatesObj = await this.getCoordinatesByAddress(); debugger; if (coordinatesObj == null) { coordinatesObj = await this.getCoordinates(); } debugger; if (coordinatesObj != null) { return this.inviteRequestRouter.create({ geoLocation: { Loading Loading @@ -360,10 +362,7 @@ export class ByLocationPage implements OnInit, OnDestroy { result = true; } if (!this.country) { this.country = +Country[address.country]; result = true; } this.detectingLocation = false; Loading Loading @@ -434,7 +433,7 @@ export class ByLocationPage implements OnInit, OnDestroy { const streetAddress = this.streetAddress; const city = this.city; const countryName = getCountryName(this.country); debugger; if (!streetAddress || !house || !city || !countryName) { return; } Loading @@ -453,6 +452,7 @@ export class ByLocationPage implements OnInit, OnDestroy { if (status === google.maps.GeocoderStatus.OK) { const place: google.maps.GeocoderResult = results[0]; debugger; const neededAddressTypes = [ 'country', 'locality', Loading Loading
shop/mobile-ionic/src/app/pages/+invite/+by-location/by-location.page.ts +5 −5 Original line number Diff line number Diff line Loading @@ -282,10 +282,12 @@ export class ByLocationPage implements OnInit, OnDestroy { let coordinatesObj = await this.getCoordinatesByAddress(); debugger; if (coordinatesObj == null) { coordinatesObj = await this.getCoordinates(); } debugger; if (coordinatesObj != null) { return this.inviteRequestRouter.create({ geoLocation: { Loading Loading @@ -360,10 +362,7 @@ export class ByLocationPage implements OnInit, OnDestroy { result = true; } if (!this.country) { this.country = +Country[address.country]; result = true; } this.detectingLocation = false; Loading Loading @@ -434,7 +433,7 @@ export class ByLocationPage implements OnInit, OnDestroy { const streetAddress = this.streetAddress; const city = this.city; const countryName = getCountryName(this.country); debugger; if (!streetAddress || !house || !city || !countryName) { return; } Loading @@ -453,6 +452,7 @@ export class ByLocationPage implements OnInit, OnDestroy { if (status === google.maps.GeocoderStatus.OK) { const place: google.maps.GeocoderResult = results[0]; debugger; const neededAddressTypes = [ 'country', 'locality', Loading