diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-09 13:51:02 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-09 13:51:02 +0100 |
commit | 253d4ab621ea6b6d916e3c425a6c21643d61be43 (patch) | |
tree | 147468060c97382e1b3edc72d583620506a02d50 /client | |
parent | 31fc6161b5ea6f30b3dace7a513695dfbe767dc3 (diff) | |
download | PeerTube-253d4ab621ea6b6d916e3c425a6c21643d61be43.tar.gz PeerTube-253d4ab621ea6b6d916e3c425a6c21643d61be43.tar.zst PeerTube-253d4ab621ea6b6d916e3c425a6c21643d61be43.zip |
Fix default boolean plugin setting
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.ts b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.ts index 1acaf9674..4e60ca290 100644 --- a/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.ts +++ b/client/src/app/+admin/plugins/plugin-show-installed/plugin-show-installed.component.ts | |||
@@ -97,7 +97,7 @@ export class PluginShowInstalledComponent extends FormReactive implements OnInit | |||
97 | private getSetting (name: string) { | 97 | private getSetting (name: string) { |
98 | const settings = this.plugin.settings | 98 | const settings = this.plugin.settings |
99 | 99 | ||
100 | if (settings && settings[name]) return settings[name] | 100 | if (settings && settings[name] !== undefined) return settings[name] |
101 | 101 | ||
102 | const registered = this.registeredSettings.find(r => r.name === name) | 102 | const registered = this.registeredSettings.find(r => r.name === name) |
103 | 103 | ||