Loading packages/admin-web-angular/src/app/@shared/forms/location/location-form.component.ts +5 −5 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import { Country, CountryName, getCountryName, countriesIdsToNamesArray, } from '@modules/server.common/entities/GeoLocation'; import { FormHelpers } from '../helpers'; Loading Loading @@ -57,11 +58,10 @@ export class LocationFormComponent implements AfterViewInit { public showCoordinates: boolean = false; static COUNTRIES: Array<{ id: Country; name: CountryName }> = Object.keys( countries ).map((abbr) => { return { id: Country[abbr], name: getCountryName(+Country[abbr]) }; }); static COUNTRIES: Array<{ id: Country; name: CountryName; }> = countriesIdsToNamesArray; private _lastUsedAddressText: string; private _lat: number; Loading packages/shop-web-angular/src/app/+login/byLocation/location/location.component.ts +2 −3 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ import { Country, getCountryName, CountryName, countriesIdsToNamesArray, } from '@modules/server.common/entities/GeoLocation'; import { GeoLocationRouter } from '@modules/client.common.angular2/routers/geo-location-router.service'; import InviteRequest from '@modules/server.common/entities/InviteRequest'; Loading @@ -42,9 +43,7 @@ export class LocationFormComponent public static COUNTRIES: Array<{ id: Country; name: CountryName; }> = Object.keys(countries).map((abbr) => { return { id: Country[abbr], name: getCountryName(+Country[abbr]) }; }); }> = countriesIdsToNamesArray; @Input() public InitUser: User; Loading Loading
packages/admin-web-angular/src/app/@shared/forms/location/location-form.component.ts +5 −5 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import { Country, CountryName, getCountryName, countriesIdsToNamesArray, } from '@modules/server.common/entities/GeoLocation'; import { FormHelpers } from '../helpers'; Loading Loading @@ -57,11 +58,10 @@ export class LocationFormComponent implements AfterViewInit { public showCoordinates: boolean = false; static COUNTRIES: Array<{ id: Country; name: CountryName }> = Object.keys( countries ).map((abbr) => { return { id: Country[abbr], name: getCountryName(+Country[abbr]) }; }); static COUNTRIES: Array<{ id: Country; name: CountryName; }> = countriesIdsToNamesArray; private _lastUsedAddressText: string; private _lat: number; Loading
packages/shop-web-angular/src/app/+login/byLocation/location/location.component.ts +2 −3 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ import { Country, getCountryName, CountryName, countriesIdsToNamesArray, } from '@modules/server.common/entities/GeoLocation'; import { GeoLocationRouter } from '@modules/client.common.angular2/routers/geo-location-router.service'; import InviteRequest from '@modules/server.common/entities/InviteRequest'; Loading @@ -42,9 +43,7 @@ export class LocationFormComponent public static COUNTRIES: Array<{ id: Country; name: CountryName; }> = Object.keys(countries).map((abbr) => { return { id: Country[abbr], name: getCountryName(+Country[abbr]) }; }); }> = countriesIdsToNamesArray; @Input() public InitUser: User; Loading