aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorJames Woglom <j@wogloms.net>2022-09-19 16:56:43 -0400
committerJames Woglom <j@wogloms.net>2022-09-19 16:56:43 -0400
commit2517933eaf2742a25b2a645ba0004cee71d52589 (patch)
treeb7bf563cd40189e7212f7b3441c93c7172d8f0d5 /ui
parentattempt to fix issue where folder is sent by frontend as {folder: "foo"} inst... (diff)
downloadmetube-2517933eaf2742a25b2a645ba0004cee71d52589.tar.gz
metube-2517933eaf2742a25b2a645ba0004cee71d52589.tar.bz2
metube-2517933eaf2742a25b2a645ba0004cee71d52589.zip
use bind
Diffstat (limited to 'ui')
-rw-r--r--ui/src/app/app.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index b31c441..1f53798 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -58,7 +58,7 @@
<div ngbDropdownMenu aria-labelledby="advancedButton" class="dropdown-menu dropdown-menu-end folder-dropdown-menu">
<div class="input-group">
<span class="input-group-text">Download Folder</span>
- <ng-select [items]="customDirs$ | async" placeholder="Default" [addTag]="allowCustomDir()" addTagText="Create directory" [ngStyle]="{'flex-grow':'1'}" bindLabel="folder" [(ngModel)]="folder" [disabled]="addInProgress || downloads.loading"></ng-select>
+ <ng-select [items]="customDirs$ | async" placeholder="Default" [addTag]="allowCustomDir.bind(this)" addTagText="Create directory" [ngStyle]="{'flex-grow':'1'}" bindLabel="folder" [(ngModel)]="folder" [disabled]="addInProgress || downloads.loading"></ng-select>
</div>
</div>
</div>
bgstack15