Include year in page title for movie details

pull/10013/head
Bogdan 5 months ago
parent 98384ab390
commit 3fb558411e

@ -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

Loading…
Cancel
Save