diff --git a/src/client/components/Library/Library.tsx b/src/client/components/Library/Library.tsx
index f7324ea..7784613 100644
--- a/src/client/components/Library/Library.tsx
+++ b/src/client/components/Library/Library.tsx
@@ -31,14 +31,14 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
navigate(`/comic/details/${row.original._id}`);
};
- const ImportStatus = (value) => {
- return value ? (
+ const ComicInfoXML = (value) => {
+ return value.data ? (
Series
- {ellipsize(value.series[0], 25)}
+ {ellipsize(value.data.series[0], 25)}
@@ -48,7 +48,7 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
Pages
- {value.pagecount[0]}
+ {value.data.pagecount[0]}
@@ -56,9 +56,9 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
Issue
- {!isNil(value.number) && (
+ {!isNil(value.data.number) && (
- {parseInt(value.number[0], 10)}
+ {parseInt(value.data.number[0], 10)}
)}
@@ -104,10 +104,11 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
{
Header: "ComicInfo.xml",
accessor: "_source.sourcedMetadata.comicInfo",
- align: "right",
+ align: "center",
+ minWidth: 250,
Cell: ({ value }) =>
!isEmpty(value) ? (
-
+
) : (
No ComicInfo.xml
),
@@ -160,6 +161,7 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
size: pageSize,
from: pageSize * pageIndex + 1,
},
+ type: "all",
},
),
);
@@ -182,6 +184,7 @@ export const Library = (data: IComicBookLibraryProps): ReactElement => {
size: pageSize,
from,
},
+ type: "all",
},
),
);