Browse Source

Improve Blazor setting page

pull/19264/head
liangshiwei 3 years ago
parent
commit
28532d954f
  1. 2
      modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs
  2. 2
      modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/TimeZoneSettingGroup/TimeZoneSettingGroupViewComponent.razor.cs

2
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs

@ -72,7 +72,7 @@ public partial class EmailSettingGroupViewComponent
await CurrentApplicationConfigurationCacheResetService.ResetAsync(); await CurrentApplicationConfigurationCacheResetService.ResetAsync();
await UiMessageService.Success(L["SuccessfullySaved"]); await Notify.Success(L["SuccessfullySaved"]);
} }
catch (Exception ex) catch (Exception ex)
{ {

2
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/TimeZoneSettingGroup/TimeZoneSettingGroupViewComponent.razor.cs

@ -48,7 +48,7 @@ public partial class TimeZoneSettingGroupViewComponent
{ {
await TimeZoneSettingsAppService.UpdateAsync(TimezoneSettings.Timezone); await TimeZoneSettingsAppService.UpdateAsync(TimezoneSettings.Timezone);
await CurrentApplicationConfigurationCacheResetService.ResetAsync(); await CurrentApplicationConfigurationCacheResetService.ResetAsync();
await UiMessageService.Success(L["SuccessfullySaved"]); await Notify.Success(L["SuccessfullySaved"]);
} }
catch (Exception ex) catch (Exception ex)
{ {

Loading…
Cancel
Save