mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix 4106: default boolean plugin setting for frontend
This commit is contained in:
parent
d35c81fa1c
commit
8bb6e70be3
@ -284,7 +284,7 @@ export class PluginModel extends Model {
|
||||
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 New Issue
Block a user