From d90b29d8bc4ed23e9ebb2c7c6de45c295ca9d9a6 Mon Sep 17 00:00:00 2001 From: Ma Liming Date: Fri, 3 Oct 2025 16:11:31 +0800 Subject: [PATCH] Add ObjectMapperContext to SendTestEmailModal --- .../Components/EmailSettingGroup/SendTestEmailModal.cshtml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/SendTestEmailModal.cshtml.cs b/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/SendTestEmailModal.cshtml.cs index 4fae4a8649..34091f64d4 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/SendTestEmailModal.cshtml.cs +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/SendTestEmailModal.cshtml.cs @@ -20,6 +20,7 @@ public class SendTestEmailModal : AbpPageModel { LocalizationResourceType = typeof(AbpSettingManagementResource); EmailSettingsAppService = emailSettingsAppService; + ObjectMapperContext = typeof(AbpSettingManagementWebModule); } public async Task OnGetAsync() @@ -56,4 +57,4 @@ public class SendTestEmailModal : AbpPageModel public string Body { get; set; } } -} \ No newline at end of file +}