diff --git a/src/client/actions/comicinfo.actions.tsx b/src/client/actions/comicinfo.actions.tsx index 20846bc..20c0c04 100644 --- a/src/client/actions/comicinfo.actions.tsx +++ b/src/client/actions/comicinfo.actions.tsx @@ -43,7 +43,7 @@ export const getWeeklyPullList = (options) => async (dispatch) => { url: `${COMICVINE_SERVICE_URI}/getWeeklyPullList`, method: "get", params: { - startDate: "2022-2-9", + startDate: "2022-2-15", pageSize: "15", currentPage: "1", }, diff --git a/src/client/assets/scss/App.scss b/src/client/assets/scss/App.scss index 5260606..0e61f2f 100644 --- a/src/client/assets/scss/App.scss +++ b/src/client/assets/scss/App.scss @@ -400,7 +400,7 @@ pre { display: -webkit-box; /* Not needed if autoprefixing */ display: -ms-flexbox; /* Not needed if autoprefixing */ display: flex; - // margin-left: -30px; /* gutter size offset */ + margin-left: -10px; /* gutter size offset */ width: auto; .issues-column { max-width: 102px; diff --git a/src/client/components/ComicDetail.tsx b/src/client/components/ComicDetail.tsx index 0e7ce89..8bdf859 100644 --- a/src/client/components/ComicDetail.tsx +++ b/src/client/components/ComicDetail.tsx @@ -234,6 +234,7 @@ export const ComicDetail = ({}: ComicDetailProps): ReactElement => { imageUrl={imagePath} orientation={"vertical"} hasDetails={false} + cardContainerStyle={{ maxWidth: 275 }} /> {/* action dropdown */}
diff --git a/src/client/components/Dashboard/Dashboard.tsx b/src/client/components/Dashboard/Dashboard.tsx index a76a381..d6a8244 100644 --- a/src/client/components/Dashboard/Dashboard.tsx +++ b/src/client/components/Dashboard/Dashboard.tsx @@ -53,14 +53,15 @@ export const Dashboard = (): ReactElement => { {" "} files - {!isUndefined(libraryStatistics.statistics) && ( -
- - {libraryStatistics.statistics[0].issues.length} - {" "} - tagged with ComicVine -
- )} + {!isUndefined(libraryStatistics.statistics) && + !isEmpty(libraryStatistics.statistics[0].issues) && ( +
+ + {libraryStatistics.statistics[0].issues.length} + {" "} + tagged with ComicVine +
+ )}
1304 with custom metadata @@ -82,24 +83,27 @@ export const Dashboard = (): ReactElement => { {/* file types */}
- {!isUndefined(libraryStatistics.statistics) && ( -
- - { - libraryStatistics.statistics[0] - .publisherWithMostComicsInLibrary[0]._id - } - - {" has the most issues "}( - - { - libraryStatistics.statistics[0] - .publisherWithMostComicsInLibrary[0].count - } - - ) -
- )} + {!isUndefined(libraryStatistics.statistics) && + !isEmpty( + libraryStatistics.statistics[0] + .publisherWithMostComicsInLibrary[0], + ) && ( +
+ + { + libraryStatistics.statistics[0] + .publisherWithMostComicsInLibrary[0]._id + } + + {" has the most issues "} + + { + libraryStatistics.statistics[0] + .publisherWithMostComicsInLibrary[0].count + } + +
+ )}
304 Volumes
diff --git a/src/client/components/Dashboard/PullList.tsx b/src/client/components/Dashboard/PullList.tsx index 3480252..5fd9baf 100644 --- a/src/client/components/Dashboard/PullList.tsx +++ b/src/client/components/Dashboard/PullList.tsx @@ -85,12 +85,12 @@ export const PullList = ({ issues }: PullListProps): ReactElement => {
diff --git a/src/client/components/VolumeDetail/PotentialLibraryMatches.tsx b/src/client/components/VolumeDetail/PotentialLibraryMatches.tsx index a3d5a04..3343d4d 100644 --- a/src/client/components/VolumeDetail/PotentialLibraryMatches.tsx +++ b/src/client/components/VolumeDetail/PotentialLibraryMatches.tsx @@ -9,7 +9,6 @@ import { escapePoundSymbol } from "../../shared/utils/formatting.utils"; import prettyBytes from "pretty-bytes"; const PotentialLibraryMatches = (props): ReactElement => { - console.log(props); const dispatch = useDispatch(); const comicBooks = useSelector( (state: RootState) => state.comicInfo.comicBooksDetails, diff --git a/src/client/components/VolumeDetail/VolumeDetail.tsx b/src/client/components/VolumeDetail/VolumeDetail.tsx index f6e4ed6..0ef4660 100644 --- a/src/client/components/VolumeDetail/VolumeDetail.tsx +++ b/src/client/components/VolumeDetail/VolumeDetail.tsx @@ -178,6 +178,7 @@ const VolumeDetails = (props): ReactElement => { comicBookDetails.sourcedMetadata.comicvine.volumeInformation .image.small_url } + cardContainerStyle={{ maxWidth: 275 }} orientation={"vertical"} hasDetails={false} />