mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-24 09:40:28 -06:00
Fix default boolean plugin setting
This commit is contained in:
parent
31fc6161b5
commit
253d4ab621
@ -97,7 +97,7 @@ export class PluginShowInstalledComponent extends FormReactive implements OnInit
|
||||
private getSetting (name: string) {
|
||||
const settings = this.plugin.settings
|
||||
|
||||
if (settings && settings[name]) return settings[name]
|
||||
if (settings && settings[name] !== undefined) return settings[name]
|
||||
|
||||
const registered = this.registeredSettings.find(r => r.name === name)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user