Fix default boolean plugin setting

This commit is contained in:
Chocobozzz 2021-03-09 13:51:02 +01:00
parent 31fc6161b5
commit 253d4ab621
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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)