Fix 4106: default boolean plugin setting for frontend
This commit is contained in:
parent
78c5e31049
commit
fa263eeff7
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ export class PluginModel extends Model<Partial<AttributesOnly<PluginModel>>> {
|
|||
for (const r of registeredSettings) {
|
||||
if (r.private !== false) continue
|
||||
|
||||
result[r.name] = settings[r.name] || r.default || null
|
||||
result[r.name] = settings[r.name] ?? r.default ?? null
|
||||
}
|
||||
|
||||
return result
|
||||
|
|
Loading…
Reference in a new issue