1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2025-01-01 16:37:39 +01:00

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 ( return (
<div className={`cardView showType-${streamData.type}`}> <div className={`cardView showType-${streamData.type}`}>
<Helmet> <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> </Helmet>
<Card fullWidth> <Card fullWidth>

View file

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