diff --git a/framework/core/js/src/admin/components/MailPage.tsx b/framework/core/js/src/admin/components/MailPage.tsx index 3f7221aad2..a3cc1797ae 100644 --- a/framework/core/js/src/admin/components/MailPage.tsx +++ b/framework/core/js/src/admin/components/MailPage.tsx @@ -98,7 +98,7 @@ export default class MailPage exten contentItems(): ItemList { const items = new ItemList(); - const fields = this.driverFields![this.setting('mail_driver')()]; + const fields = this.driverFields![this.setting('mail_driver')()] || {}; const fieldKeys = Object.keys(fields); items.add(