fix correct redirects on tvshows page
This commit is contained in:
parent
05ea72a8ca
commit
5d409c3e23
@ -66,7 +66,7 @@ export class EpisodePage extends React.Component<Props, State> {
|
|||||||
export const EpisodeTile = (props: {episode: Episode}): JSX.Element => {
|
export const EpisodeTile = (props: {episode: Episode}): JSX.Element => {
|
||||||
const themestyle = GlobalInfos.getThemeStyle();
|
const themestyle = GlobalInfos.getThemeStyle();
|
||||||
return (
|
return (
|
||||||
<Link to={'/tvplayer/' + props.episode.ID}>
|
<Link to={'/media/tvplayer/' + props.episode.ID}>
|
||||||
<div className={tileStyle.tile + ' ' + themestyle.secbackground + ' ' + themestyle.textcolor}>
|
<div className={tileStyle.tile + ' ' + themestyle.secbackground + ' ' + themestyle.textcolor}>
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
style={{
|
style={{
|
||||||
|
@ -55,7 +55,7 @@ export class TVShowPage extends React.Component<Props, State> {
|
|||||||
(result) => callback(result)
|
(result) => callback(result)
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
linkPath={'/tvshows/' + elem.Id}
|
linkPath={'/media/tvshows/' + elem.Id}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
data={this.state.loading ? [] : this.data}
|
data={this.state.loading ? [] : this.data}
|
||||||
|
Loading…
Reference in New Issue
Block a user