diff --git a/framework/core/js/src/admin/components/MailPage.tsx b/framework/core/js/src/admin/components/MailPage.tsx index cc1b1efed2..b0946b20d3 100644 --- a/framework/core/js/src/admin/components/MailPage.tsx +++ b/framework/core/js/src/admin/components/MailPage.tsx @@ -88,8 +88,6 @@ export default class MailPage exten ); - - return items; } mailSettingItems(): ItemList { @@ -98,10 +96,7 @@ export default class MailPage exten const fields = this.driverFields![this.setting('mail_driver')()]; const fieldKeys = Object.keys(fields); - items.add( - 'status', - this.status!.sending || {app.translator.trans('core.admin.email.not_sending_message')} - ); + items.add('status', this.status!.sending || {app.translator.trans('core.admin.email.not_sending_message')}); items.add( 'mail_from',