Fix mail settings select component never being used (#3120)

This commit is contained in:
Clark Winkelmann 2021-10-25 07:44:46 +02:00 committed by GitHub
parent 16aeed9689
commit cc9da3324a

View File

@ -79,7 +79,7 @@ export default class MailPage extends AdminPage {
return [
this.buildSettingComponent({
type: typeof this.setting(field)() === 'string' ? 'text' : 'select',
type: typeof fieldInfo === 'string' ? 'text' : 'select',
label: app.translator.trans(`core.admin.email.${field}_label`),
setting: field,
options: fieldInfo,