From f779369bb8682d5aef87bb5df89dbfc8fad0bf74 Mon Sep 17 00:00:00 2001 From: Roland Date: Sun, 8 Feb 2026 09:39:28 -0700 Subject: [PATCH] Updating download edit form to include the tag names alread set for the download. --- app/src/components/admin/Downloads.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/components/admin/Downloads.js b/app/src/components/admin/Downloads.js index 43c6baa2..9300eba6 100644 --- a/app/src/components/admin/Downloads.js +++ b/app/src/components/admin/Downloads.js @@ -284,7 +284,7 @@ function RecurringDownloadRow({download, fetchDownloads, onDelete}) { function OnceDownloadRow({download, fetchDownloads, isSelected, onSelect}) { const [editModalOpen, setEditModalOpen] = React.useState(false); - const {url, last_successful_download, status, location, error, downloader, settings, id} = download; + const {url, last_successful_download, status, location, error, downloader, settings, id, tag_names} = download; const handleDelete = async () => { try { @@ -404,7 +404,8 @@ function OnceDownloadRow({download, fetchDownloads, isSelected, onSelect}) { download={{ urls: url, settings: settings || {}, - id: id + id: id, + tag_names: tag_names || [] }} onCancel={handleEditClose} onSuccess={handleEditSuccess} @@ -425,7 +426,7 @@ function OnceDownloadRow({download, fetchDownloads, isSelected, onSelect}) {