- - Search the ComicVine database - - Search and add issues, series and trade paperbacks to your - library. Then, download them using the configured AirDC++ or - torrent clients. -
-diff --git a/src/client/actions/comicinfo.actions.tsx b/src/client/actions/comicinfo.actions.tsx index 09f70e1..5150901 100644 --- a/src/client/actions/comicinfo.actions.tsx +++ b/src/client/actions/comicinfo.actions.tsx @@ -41,7 +41,7 @@ export const comicinfoAPICall = (options) => async (dispatch) => { case "search": dispatch({ type: CV_SEARCH_SUCCESS, - result: response.data, + searchResults: response.data, }); break; diff --git a/src/client/components/ComicDetail.tsx b/src/client/components/ComicDetail.tsx index 6b9f802..9e3d3d1 100644 --- a/src/client/components/ComicDetail.tsx +++ b/src/client/components/ComicDetail.tsx @@ -64,12 +64,15 @@ export const ComicDetail = ({}: ComicDetailProps): ReactElement => { const createDescriptionMarkup = (html) => { return { __html: html }; }; + const isComicBookMetadataAvailable = + !isNil(comicBookDetailData.sourcedMetadata) && + !isEmpty(comicBookDetailData.sourcedMetadata); // Tab groups for ComicVine metadata const tabGroup = [ { id: 0, name: "Volume Information", - content: !isNil(comicBookDetailData.sourcedMetadata) && ( + content: isComicBookMetadataAvailable && ( <>
- - Search the ComicVine database - - Search and add issues, series and trade paperbacks to your - library. Then, download them using the configured AirDC++ or - torrent clients. -
-{api_detail_url}
+{deck}
++ + Search the ComicVine database + + Search and add issues, series and trade paperbacks to your + library. Then, download them using the configured AirDC++ or + torrent clients. +
+