diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index a9a604b..31716b4 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -94,7 +94,7 @@ - + @@ -127,7 +127,7 @@ - + diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index 1824052..a71d76e 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -7,6 +7,7 @@ import { map, Observable, of } from 'rxjs'; import { Download, DownloadsService, Status } from './downloads.service'; import { MasterCheckboxComponent } from './master-checkbox.component'; import { Formats, Format, Quality } from './formats'; +import {KeyValue} from "@angular/common"; @Component({ selector: 'app-root', @@ -207,4 +208,8 @@ export class AppComponent implements AfterViewInit { return baseDir + encodeURIComponent(download.filename); } + + identifyDownloadRow(index: number, row: KeyValue) { + return row.key; + } }