diff --git a/src/client/components/Downloads/Downloads.tsx b/src/client/components/Downloads/Downloads.tsx index 7481340..a18eafe 100644 --- a/src/client/components/Downloads/Downloads.tsx +++ b/src/client/components/Downloads/Downloads.tsx @@ -3,7 +3,6 @@ import { getTransfers } from "../../actions/airdcpp.actions"; import { useDispatch, useSelector } from "react-redux"; import { AirDCPPSocketContext } from "../../context/AirDCPPSocket"; import { isEmpty, isNil, isUndefined } from "lodash"; -import { searchIssue } from "../../actions/fileops.actions"; import { determineCoverFile } from "../../shared/utils/metadata.utils"; import MetadataPanel from "../shared/MetadataPanel"; @@ -47,7 +46,6 @@ export const Downloads = (props: IDownloadsProps): ReactElement => { }) setBundles(foo); } - }, [issueBundles]) return !isNil(bundles) ? @@ -56,9 +54,9 @@ export const Downloads = (props: IDownloadsProps): ReactElement => {

Downloads

- {bundles.map(bundle => { + {bundles.map((bundle, idx) => { console.log(bundle); - return <> + return
{ margin: "0 0 8px 0", }} /> - +
+ - - {bundle.acquisition.directconnect.downloads.map((bundle) => { - return( + + + {bundle.acquisition.directconnect.downloads.map((bundle, idx) => { + return () })} -
Name Size Type Bundle ID
{bundle.name} {bundle.size} {bundle.type.str} {bundle.bundleId}
+ + {/*
{JSON.stringify(bundle.acquisition.directconnect.downloads, null, 2)}
*/} - +
})}
- :
asd
; + :
There are no downloads.
; }; export default Downloads;