fix: download handling of "other" media

Fixed an issue where downloaded items were not appearing in downloads

Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
This commit is contained in:
Lance Chant
2025-09-30 10:39:56 +02:00
parent c6ad06b084
commit e877d038ba
5 changed files with 99 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ export const MovieCard: React.FC<MovieCardProps> = ({ item }) => {
*/
const handleDeleteFile = useCallback(() => {
if (item.Id) {
deleteFile(item.Id, "Movie");
deleteFile(item.Id, item.Type);
}
}, [deleteFile, item.Id]);