attempt to fix issue where folder is sent by frontend as {folder: "foo"} instead of string
This commit is contained in:
parent
a07e1ed06c
commit
a36323677c
|
|
@ -85,8 +85,11 @@ export class AppComponent implements AfterViewInit {
|
||||||
return this.downloads.configuration['CUSTOM_DIRS'] == 'true';
|
return this.downloads.configuration['CUSTOM_DIRS'] == 'true';
|
||||||
}
|
}
|
||||||
|
|
||||||
allowCustomDir() {
|
allowCustomDir(tag: string) {
|
||||||
return this.downloads.configuration['CREATE_CUSTOM_DIRS'] == 'true';
|
if (this.downloads.configuration['CREATE_CUSTOM_DIRS'] == 'true') {
|
||||||
|
return tag;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
isAudioType() {
|
isAudioType() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue