fix correct redirects on tvshows page

This commit is contained in:
lukas-heiligenbrunner 2022-09-20 14:26:15 +02:00
parent 05ea72a8ca
commit 5d409c3e23
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ export class EpisodePage extends React.Component<Props, State> {
export const EpisodeTile = (props: {episode: Episode}): JSX.Element => {
const themestyle = GlobalInfos.getThemeStyle();
return (
<Link to={'/tvplayer/' + props.episode.ID}>
<Link to={'/media/tvplayer/' + props.episode.ID}>
<div className={tileStyle.tile + ' ' + themestyle.secbackground + ' ' + themestyle.textcolor}>
<FontAwesomeIcon
style={{

View File

@ -55,7 +55,7 @@ export class TVShowPage extends React.Component<Props, State> {
(result) => callback(result)
);
}}
linkPath={'/tvshows/' + elem.Id}
linkPath={'/media/tvshows/' + elem.Id}
/>
)}
data={this.state.loading ? [] : this.data}