From a5b27a0cc4c1b328586c8f0d296bfad7e442946f Mon Sep 17 00:00:00 2001 From: Ilkay Ilknur Date: Wed, 11 Nov 2020 11:12:28 +0300 Subject: [PATCH] update usages. --- .../Pages/Identity/Roles/CreateModal.cshtml | 7 +------ .../Pages/Identity/Roles/EditModal.cshtml | 7 +------ .../Pages/Identity/Users/CreateModal.cshtml | 7 +------ .../Pages/Identity/Users/EditModal.cshtml | 7 +------ .../Pages/TenantManagement/Tenants/CreateModal.cshtml | 7 +------ .../Pages/TenantManagement/Tenants/EditModal.cshtml | 7 +------ 6 files changed, 6 insertions(+), 36 deletions(-) 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()) {