aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/app')
-rw-r--r--ui/src/app/app.component.ts4
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;
bgstack15