🔧 Fixed publisher name in Library table
This commit is contained in:
@@ -99,12 +99,12 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
|
|||||||
{
|
{
|
||||||
header: "Publisher",
|
header: "Publisher",
|
||||||
accessorKey:
|
accessorKey:
|
||||||
"_source.sourcedMetadata.comicvine.volumeInformation.publisher",
|
"_source.sourcedMetadata.comicvine.volumeInformation",
|
||||||
cell: info => {
|
cell: info => {
|
||||||
return (
|
return (
|
||||||
!isNil(info.getValue()) && (
|
!isNil(info.getValue()) && (
|
||||||
<h6 className="is-size-7 has-text-weight-bold">
|
<h6 className="is-size-7 has-text-weight-bold">
|
||||||
{info.getValue().rawFileDetails.name}
|
{ info.getValue().publisher.name }
|
||||||
</h6>
|
</h6>
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -68,8 +68,14 @@ export const WantedComics = (props): ReactElement => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: "Type",
|
header: "Download Details",
|
||||||
id: "Air",
|
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",
|
header: "Type",
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ interface IMetadatPanelProps {
|
|||||||
containerStyle: any;
|
containerStyle: any;
|
||||||
}
|
}
|
||||||
export const MetadataPanel = (props: IMetadatPanelProps): ReactElement => {
|
export const MetadataPanel = (props: IMetadatPanelProps): ReactElement => {
|
||||||
console.log(props)
|
|
||||||
const {
|
const {
|
||||||
rawFileDetails,
|
rawFileDetails,
|
||||||
inferredMetadata,
|
inferredMetadata,
|
||||||
|
|||||||
Reference in New Issue
Block a user