feat(StreamsList): added upcoming label when no results

This commit is contained in:
Botzy 2025-02-07 19:23:33 +02:00
parent 36a2896525
commit 7fa4f462c5
2 changed files with 3 additions and 0 deletions

View file

@ -136,6 +136,7 @@ const StreamsList = ({ className, video, onEpisodeSearch, ...props }) => {
props.streams.every((streams) => streams.content.type === 'Err') ?
<div className={styles['message-container']}>
<SeasonEpisodePicker seriesId={video?.id} onSubmit={handleEpisodePicker} />
{video?.upcoming && <div className={styles['label']}>{t('UPCOMING')}...</div>}
<Image className={styles['image']} src={require('/images/empty.png')} alt={' '} />
<div className={styles['label']}>{t('NO_STREAM')}</div>
{

View file

@ -38,6 +38,7 @@
font-size: 1.4rem;
text-align: center;
color: var(--primary-foreground-color);
margin-bottom: 2rem;
}
}
@ -171,6 +172,7 @@
max-height: 3.6em;
text-align: center;
color: var(--primary-foreground-color);
margin-bottom: 0;
}
}
}