From 2a227bc760e553a17bee1799f22b46802483d9d8 Mon Sep 17 00:00:00 2001 From: CavazzaTommaso Date: Thu, 1 Sep 2022 11:12:55 +0200 Subject: Added download button to the ui For personal needs, I've added the download button to the completed downloads --- ui/src/app/app.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/src/app/app.component.ts') diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index a9b46a3..3b6d804 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -1,6 +1,6 @@ import { Component, ViewChild, ElementRef, AfterViewInit } from '@angular/core'; import { faTrashAlt, faCheckCircle, faTimesCircle } from '@fortawesome/free-regular-svg-icons'; -import { faRedoAlt, faSun, faMoon, faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons'; +import { faRedoAlt, faSun, faMoon, faExternalLinkAlt, faDownload } from '@fortawesome/free-solid-svg-icons'; import { CookieService } from 'ngx-cookie-service'; import { DownloadsService, Status } from './downloads.service'; @@ -34,6 +34,7 @@ export class AppComponent implements AfterViewInit { faRedoAlt = faRedoAlt; faSun = faSun; faMoon = faMoon; + faDownload = faDownload; faExternalLinkAlt = faExternalLinkAlt; constructor(public downloads: DownloadsService, private cookieService: CookieService) { -- cgit