Misc bug fixes

This commit is contained in:
Josh Heng 2021-08-02 14:22:13 +01:00
parent e529916805
commit b06f27eb97
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ export function MovieView(props) {
return (
<div className={`cardView showType-${streamData.type}`}>
<Helmet>
<title>{streamData.title}{streamData.type === 'show' && ` | S${season}E${episode}`} | movie-web</title>
<title>{streamData.title}{streamData.type === 'show' ? ` | S${season}E${episode}` : ''} | movie-web</title>
</Helmet>
<Card fullWidth>

View File

@ -140,7 +140,7 @@ export function SearchView() {
<Helmet>
<title>{type === 'movie' ? 'Movies' : 'TV Shows'} | movie-web</title>
</Helmet>
<Card>
<DiscordBanner />
{errorStatus ? <ErrorBanner>{errorStatus}</ErrorBanner> : ''}