mirror of
https://github.com/flarum/core.git
synced 2025-07-16 22:31:18 +02:00
Fix mail settings select component never being used (#3120)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user