1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-07-04 11:07:59 +02:00

Include year in page title for movie details

This commit is contained in:
Bogdan 2024-06-03 06:20:37 +03:00
parent 98384ab390
commit 3fb558411e

View File

@ -285,8 +285,10 @@ class MovieDetails extends Component {
const fanartUrl = getFanartUrl(images);
const marqueeWidth = isSmallScreen ? titleWidth : (titleWidth - 150);
const pageTitle = `${title}${year > 0 ? ` (${year})` : ''}`;
return (
<PageContent title={title}>
<PageContent title={pageTitle}>
<PageToolbar>
<PageToolbarSection>
<PageToolbarButton