From fe4993153c168b27969dc0fae500b62504bba52a Mon Sep 17 00:00:00 2001 From: Steffen Klee Date: Mon, 13 Dec 2021 22:35:19 +0100 Subject: Add download link to downloaded file This adds a simple download link that points to the downloaded file. Note: This makes all files in the download directory (and its sub-directory) available to any user. Closes gh-26 --- ui/src/app/app.component.html | 3 ++- ui/src/app/downloads.service.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index 039aab6..1496bde 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -112,7 +112,8 @@ - {{ download.value.title }} + {{ download.value.title }} + {{ download.value.title }} diff --git a/ui/src/app/downloads.service.ts b/ui/src/app/downloads.service.ts index e0db252..25bcccc 100644 --- a/ui/src/app/downloads.service.ts +++ b/ui/src/app/downloads.service.ts @@ -15,6 +15,7 @@ interface Download { url: string, status: string; msg: string; + filename: string; quality: string; percent: number; speed: number; -- cgit