mirror of
https://github.com/flarum/framework.git
synced 2025-01-20 18:17:31 +08:00
Fix mail settings select component never being used (#3120)
This commit is contained in:
parent
16aeed9689
commit
cc9da3324a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user