aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/app/app.component.ts')
-rw-r--r--ui/src/app/app.component.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts
index a9b46a3..f9e5a41 100644
--- a/ui/src/app/app.component.ts
+++ b/ui/src/app/app.component.ts
@@ -19,6 +19,7 @@ export class AppComponent implements AfterViewInit {
quality: string;
format: string;
addInProgress = false;
+ showFolderDropdown = false;
darkMode: boolean;
@ViewChild('queueMasterCheckbox') queueMasterCheckbox: MasterCheckboxComponent;
@@ -114,6 +115,10 @@ export class AppComponent implements AfterViewInit {
this.quality = exists ? this.quality : 'best'
}
+ clickFolderDropdown() {
+ this.showFolderDropdown = !this.showFolderDropdown;
+ }
+
addDownload(url?: string, quality?: string, format?: string) {
url = url ?? this.addUrl
quality = quality ?? this.quality
bgstack15