mirror of https://github.com/Chocobozzz/PeerTube
Fix default boolean plugin setting
parent
31fc6161b5
commit
253d4ab621
|
@ -97,7 +97,7 @@ export class PluginShowInstalledComponent extends FormReactive implements OnInit
|
||||||
private getSetting (name: string) {
|
private getSetting (name: string) {
|
||||||
const settings = this.plugin.settings
|
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)
|
const registered = this.registeredSettings.find(r => r.name === name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue