Skip to content

Commit

Permalink
fix: de-weebify actors
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Dec 30, 2024
1 parent 5df7302 commit 678bf93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/pages/collection/series/SeriesCredits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ const SeriesCredits = () => {

const cast = useSeriesCastQuery(series.IDs.ID).data;
const castByType = useMemo(() => ({
Character: cast?.filter(credit => credit.RoleName === 'Seiyuu') ?? [],
Staff: cast?.filter(credit => credit.RoleName !== 'Seiyuu') ?? [],
Character: cast?.filter(credit => credit.RoleName === 'Actor') ?? [],
Staff: cast?.filter(credit => credit.RoleName !== 'Actor') ?? [],
}), [cast]);

const uniqueRoles = useMemo(() => ({
Expand All @@ -89,7 +89,7 @@ const SeriesCredits = () => {
<div className="flex w-full gap-x-6">
<div className="flex flex-col gap-y-6">
<CreditsSearchAndFilterPanel
inputPlaceholder={mode === 'Character' ? 'Character or Seiyuu\'s Name...' : 'Staff Name...'}
inputPlaceholder={mode === 'Character' ? 'Character or Actor\'s Name...' : 'Staff Name...'}
search={search}
roleFilter={roleFilter}
uniqueRoles={uniqueRoles[mode]}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/collection/series/SeriesOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const SeriesOverview = () => {
</ShokoPanel>
)}

<ShokoPanel title="Top 20 Seiyuu" className="w-full" transparent>
<ShokoPanel title="Top 20 Actors" className="w-full" transparent>
<div className="z-10 flex w-full gap-x-6">
{cast?.filter(credit => credit.RoleName === 'Seiyuu' && credit.Character).slice(0, 20).map(seiyuu => (
<div
Expand Down

0 comments on commit 678bf93

Please sign in to comment.