diff --git a/ui/v2.5/src/components/FrontPage/RecommendationRow.tsx b/ui/v2.5/src/components/FrontPage/RecommendationRow.tsx index e6e58b10a..0b48434c0 100644 --- a/ui/v2.5/src/components/FrontPage/RecommendationRow.tsx +++ b/ui/v2.5/src/components/FrontPage/RecommendationRow.tsx @@ -2,7 +2,7 @@ import React, { PropsWithChildren } from "react"; interface IProps { className?: string; - header: String; + header: string; link: JSX.Element; } diff --git a/ui/v2.5/src/components/Galleries/GalleryRecommendationRow.tsx b/ui/v2.5/src/components/Galleries/GalleryRecommendationRow.tsx index d3ca6823e..437eaeb94 100644 --- a/ui/v2.5/src/components/Galleries/GalleryRecommendationRow.tsx +++ b/ui/v2.5/src/components/Galleries/GalleryRecommendationRow.tsx @@ -10,7 +10,7 @@ import { FormattedMessage } from "react-intl"; interface IProps { isTouch: boolean; filter: ListFilterModel; - header: String; + header: string; } export const GalleryRecommendationRow: FunctionComponent = ( @@ -41,7 +41,10 @@ export const GalleryRecommendationRow: FunctionComponent = ( > {result.loading ? [...Array(props.filter.itemsPerPage)].map((i) => ( -
+
)) : result.data?.findGalleries.galleries.map((g) => ( diff --git a/ui/v2.5/src/components/Images/ImageRecommendationRow.tsx b/ui/v2.5/src/components/Images/ImageRecommendationRow.tsx index 6d76f3e17..55f7e7b78 100644 --- a/ui/v2.5/src/components/Images/ImageRecommendationRow.tsx +++ b/ui/v2.5/src/components/Images/ImageRecommendationRow.tsx @@ -10,7 +10,7 @@ import { ImageCard } from "./ImageCard"; interface IProps { isTouch: boolean; filter: ListFilterModel; - header: String; + header: string; } export const ImageRecommendationRow: FunctionComponent = ( @@ -41,7 +41,7 @@ export const ImageRecommendationRow: FunctionComponent = ( > {result.loading ? [...Array(props.filter.itemsPerPage)].map((i) => ( -
+
)) : result.data?.findImages.images.map((i) => ( diff --git a/ui/v2.5/src/components/List/ListFilter.tsx b/ui/v2.5/src/components/List/ListFilter.tsx index 56e0a8a76..9236a5561 100644 --- a/ui/v2.5/src/components/List/ListFilter.tsx +++ b/ui/v2.5/src/components/List/ListFilter.tsx @@ -217,8 +217,8 @@ export const ListFilter: React.FC = ({ return ( <> -
-
+
+
= ({
- + = ({ - + {currentSortBy @@ -322,13 +322,13 @@ export const ListFilter: React.FC = ({ )} -
+
onChangePageSize(e.target.value)} value={filter.itemsPerPage.toString()} - className="btn-secondary mx-1 mb-1" + className="btn-secondary" > {pageSizeOptions.map((s) => (