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