Fix for including state and country options when Client address configuration is enabled (#3434)

Co-authored-by: Alberto Hernandez <jose.hernandez@fintecheando.mx>
This commit is contained in:
bharathcgowda 2021-10-27 08:44:37 +05:30 committed by GitHub
parent 05d0dc3755
commit be46264a6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,8 +102,8 @@
if (scope.enableAddress === true) {
scope.addressTypes = data.address[0].addressTypeIdOptions;
scope.countryOptions = data.address.countryIdOptions;
scope.stateOptions = data.address.stateProvinceIdOptions;
scope.countryOptions = data.address[0].countryIdOptions;
scope.stateOptions = data.address[0].stateProvinceIdOptions;
resourceFactory.addressFieldConfiguration.get({entity:entityname},function(data){