diff options
author | Alex Shnitman <alexta69@gmail.com> | 2023-02-04 11:09:36 +0200 |
---|---|---|
committer | Alex Shnitman <alexta69@gmail.com> | 2023-02-04 11:09:36 +0200 |
commit | ea7a7b07113362718687dfbc778ae35323498e01 (patch) | |
tree | e46c3470576ddbe13261fb68fdcbfe27d621d90d /ui | |
parent | Merge pull request #216 from kaytwo/master (diff) | |
download | metube-ea7a7b07113362718687dfbc778ae35323498e01.tar.gz metube-ea7a7b07113362718687dfbc778ae35323498e01.tar.bz2 metube-ea7a7b07113362718687dfbc778ae35323498e01.zip |
Fix boolean env variables (closes #213)
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/app/app.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 7ef7da4..d4a1270 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -82,11 +82,11 @@ export class AppComponent implements AfterViewInit { } showAdvanced() { - return this.downloads.configuration['CUSTOM_DIRS'] == 'true'; + return this.downloads.configuration['CUSTOM_DIRS']; } allowCustomDir(tag: string) { - if (this.downloads.configuration['CREATE_CUSTOM_DIRS'] == 'true') { + if (this.downloads.configuration['CREATE_CUSTOM_DIRS']) { return tag; } return false; |