From 8128df2256ad6b4914308ce774f6e3ce0603a847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20=C3=87otur?= Date: Wed, 16 Sep 2020 21:38:57 +0300 Subject: [PATCH] remove update confirmation from account.blazor --- .../Pages/Account/Manage.razor.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs b/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs index 77cf43327c..b1e1b6c2bd 100644 --- a/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs +++ b/modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/Manage.razor.cs @@ -58,11 +58,6 @@ namespace Volo.Abp.Account.Blazor.Pages.Account return; } - if (!await UiMessageService.ConfirmAsync(UiLocalizer["AreYouSure"])) - { - return; - } - await ProfileAppService.ChangePasswordAsync(new ChangePasswordInput { CurrentPassword = ChangePasswordModel.CurrentPassword, @@ -73,12 +68,7 @@ namespace Volo.Abp.Account.Blazor.Pages.Account } protected async Task UpdatePersonalInfoAsync() - { - if (!await UiMessageService.ConfirmAsync(UiLocalizer["AreYouSure"])) - { - return; - } - + { await ProfileAppService.UpdateAsync( ObjectMapper.Map(PersonalInfoModel) );