From 10b6d4b5793387b95d5ef58c328de4fb590d41e5 Mon Sep 17 00:00:00 2001 From: ueaslsef <52797608+ueaslsef@users.noreply.github.com> Date: Wed, 1 Apr 2020 21:27:33 +0000 Subject: [PATCH] [Feature] Add image count to gallery list (#429) * Add imagecount to gallery list * Port to 2.5 Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com> --- ui/v2.5/src/components/Galleries/GalleryList.tsx | 2 +- ui/v2/src/components/Galleries/GalleryList.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/v2.5/src/components/Galleries/GalleryList.tsx b/ui/v2.5/src/components/Galleries/GalleryList.tsx index 2565e478b..c5477e587 100644 --- a/ui/v2.5/src/components/Galleries/GalleryList.tsx +++ b/ui/v2.5/src/components/Galleries/GalleryList.tsx @@ -47,7 +47,7 @@ export const GalleryList: React.FC = () => { - {gallery.path} + {gallery.path} ({gallery.files.length} {gallery.files.length === 1 ? 'image' : 'images'}) ))} diff --git a/ui/v2/src/components/Galleries/GalleryList.tsx b/ui/v2/src/components/Galleries/GalleryList.tsx index 754382b55..3e3806f7e 100644 --- a/ui/v2/src/components/Galleries/GalleryList.tsx +++ b/ui/v2/src/components/Galleries/GalleryList.tsx @@ -38,7 +38,7 @@ export const GalleryList: FunctionComponent = (props: IProps) => { {gallery.files.length > 0 ? {gallery.title} : undefined} - {gallery.path} + {gallery.path} ({gallery.files.length} {gallery.files.length === 1 ? 'image' : 'images'}) ))}