🔧 Fixed publisher name in Library table

This commit is contained in:
2022-08-17 22:25:48 -07:00
parent ea366d1888
commit 5f59456c8b
3 changed files with 10 additions and 5 deletions

View File

@@ -99,12 +99,12 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
{
header: "Publisher",
accessorKey:
"_source.sourcedMetadata.comicvine.volumeInformation.publisher",
"_source.sourcedMetadata.comicvine.volumeInformation",
cell: info => {
return (
!isNil(info.getValue()) && (
<h6 className="is-size-7 has-text-weight-bold">
{info.getValue().rawFileDetails.name}
{ info.getValue().publisher.name }
</h6>
)
);

View File

@@ -68,8 +68,14 @@ export const WantedComics = (props): ReactElement => {
},
},
{
header: "Type",
id: "Air",
header: "Download Details",
id: "downloadDetails",
accessorKey: "acquisition",
cell: data => <ol>
{data.getValue().directconnect.downloads.map(download => {
return <li className="is-size-7">{download.name}</li>;
})}
</ol>
},
{
header: "Type",

View File

@@ -16,7 +16,6 @@ interface IMetadatPanelProps {
containerStyle: any;
}
export const MetadataPanel = (props: IMetadatPanelProps): ReactElement => {
console.log(props)
const {
rawFileDetails,
inferredMetadata,