mirror of
https://github.com/sct/overseerr.git
synced 2025-09-26 20:12:33 +02:00
feat(frontend/api): cast included with movie request and cast list on detail page
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
} from '../../../../server/models/Search';
|
||||
import TitleCard from '../../TitleCard';
|
||||
import useVerticalScroll from '../../../hooks/useVerticalScroll';
|
||||
import PersonCard from '../../PersonCard';
|
||||
|
||||
interface ListViewProps {
|
||||
items?: (TvResult | MovieResult | PersonResult)[];
|
||||
@@ -64,7 +65,9 @@ const ListView: React.FC<ListViewProps> = ({
|
||||
);
|
||||
break;
|
||||
case 'person':
|
||||
titleCard = <div>{title.name}</div>;
|
||||
titleCard = (
|
||||
<PersonCard name={title.name} profilePath={title.profilePath} />
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user