diff --git a/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/CreateModal.cshtml b/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/CreateModal.cshtml index 169f96a28b..9c1af360d8 100644 --- a/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/CreateModal.cshtml +++ b/modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Roles/CreateModal.cshtml @@ -24,12 +24,7 @@ @foreach (var propertyInfo in ObjectExtensionManager.Instance.GetProperties()) { - if (propertyInfo.Type.IsEnum) - { - - } - else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) + if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) { ()) { - if (propertyInfo.Type.IsEnum) - { - - } - else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) + if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) { ()) { - if (propertyInfo.Type.IsEnum) - { - - } - else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) + if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) { ()) { - if (propertyInfo.Type.IsEnum) - { - - } - else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) + if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) { ()) { - if (propertyInfo.Type.IsEnum) - { - - } - else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) + if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) { @foreach (var propertyInfo in ObjectExtensionManager.Instance.GetProperties()) { - if (propertyInfo.Type.IsEnum) - { - - } - else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) + if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) {