diff --git a/src/components/Collection/CollectionTitle.tsx b/src/components/Collection/CollectionTitle.tsx index e54cb3c20..724caafba 100644 --- a/src/components/Collection/CollectionTitle.tsx +++ b/src/components/Collection/CollectionTitle.tsx @@ -12,33 +12,38 @@ type Props = { }; const CollectionTitle = memo(({ count, filterActive, filterOrGroup, searchQuery }: Props) => ( -
+
- Entire Collection + Collection {filterOrGroup && ( <> - - {filterOrGroup} + + + {filterOrGroup} + )} {!filterOrGroup && filterActive && ( <> - + Filtered )} {searchQuery && ( <> - - Search Results + + + Search Results + )} {count >= 0 && ( <> | - + {`${count} Items`} +   )} diff --git a/src/components/Panels/ModalPanel.tsx b/src/components/Panels/ModalPanel.tsx index cea0fffea..4a5c90826 100644 --- a/src/components/Panels/ModalPanel.tsx +++ b/src/components/Panels/ModalPanel.tsx @@ -47,17 +47,17 @@ function ModalPanel(props: Props) {
e.stopPropagation()} diff --git a/src/pages/collection/Series.tsx b/src/pages/collection/Series.tsx index fb0656297..e91ea2c5a 100644 --- a/src/pages/collection/Series.tsx +++ b/src/pages/collection/Series.tsx @@ -68,7 +68,7 @@ const Series = () => { const [mainTitle, originalTitle] = useMemo(() => { const tempMainTitle = series.AniDB?.Titles.find(title => title.Type === 'Main'); const tempOriginalTitle = series.AniDB?.Titles.find( - title => title.Language === languageMapping[tempMainTitle?.Language ?? ''], + title => title.Language === languageMapping[tempMainTitle?.Language ?? ''] && title.Type === 'Official', ); return [ (tempMainTitle && tempMainTitle.Name !== series.Name) ? {tempMainTitle.Name} : null, @@ -114,9 +114,9 @@ const Series = () => {
- Entire Collection + Collection - + {groupQuery.isSuccess && groupQuery.data.Size > 1 && ( <> { > {groupQuery.data.Name} - + )}
-
{series.Name}
+
{series.Name}
{mainTitle} {mainTitle && originalTitle && |}