mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-03 22:57:18 +02:00
Include year in page title for movie details
This commit is contained in:
parent
98384ab390
commit
3fb558411e
@ -285,8 +285,10 @@ class MovieDetails extends Component {
|
|||||||
const fanartUrl = getFanartUrl(images);
|
const fanartUrl = getFanartUrl(images);
|
||||||
const marqueeWidth = isSmallScreen ? titleWidth : (titleWidth - 150);
|
const marqueeWidth = isSmallScreen ? titleWidth : (titleWidth - 150);
|
||||||
|
|
||||||
|
const pageTitle = `${title}${year > 0 ? ` (${year})` : ''}`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageContent title={title}>
|
<PageContent title={pageTitle}>
|
||||||
<PageToolbar>
|
<PageToolbar>
|
||||||
<PageToolbarSection>
|
<PageToolbarSection>
|
||||||
<PageToolbarButton
|
<PageToolbarButton
|
||||||
|
Loading…
Reference in New Issue
Block a user