mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-03 14:36:04 +00:00
Merge d5cce44d82 into e192424b7a
This commit is contained in:
commit
ae5a1a69fd
1 changed files with 19 additions and 20 deletions
|
|
@ -182,7 +182,7 @@ const VideosList = ({ className, metaItem, libraryItem, season, seasonOnSelect,
|
|||
value={search}
|
||||
onChange={searchInputOnChange}
|
||||
/>
|
||||
<div ref={videosContainerRef} className={styles['videos-container']}>
|
||||
<div ref={videosContainerRef} className={styles['videos-container']} onClick={saveScrollPosition}>
|
||||
{
|
||||
videosForSeason
|
||||
.filter((video) => {
|
||||
|
|
@ -193,25 +193,24 @@ const VideosList = ({ className, metaItem, libraryItem, season, seasonOnSelect,
|
|||
);
|
||||
})
|
||||
.map((video, index) => (
|
||||
<div key={index} onClick={saveScrollPosition}>
|
||||
<Video
|
||||
id={video.id}
|
||||
title={video.title}
|
||||
thumbnail={video.thumbnail}
|
||||
season={video.season}
|
||||
episode={video.episode}
|
||||
released={video.released}
|
||||
upcoming={video.upcoming}
|
||||
watched={video.watched}
|
||||
progress={video.progress}
|
||||
deepLinks={video.deepLinks}
|
||||
scheduled={video.scheduled}
|
||||
seasonWatched={seasonWatched}
|
||||
selected={video.id === selectedVideoId}
|
||||
onMarkVideoAsWatched={onMarkVideoAsWatched}
|
||||
onMarkSeasonAsWatched={onMarkSeasonAsWatched}
|
||||
/>
|
||||
</div>
|
||||
<Video
|
||||
key={index}
|
||||
id={video.id}
|
||||
title={video.title}
|
||||
thumbnail={video.thumbnail}
|
||||
season={video.season}
|
||||
episode={video.episode}
|
||||
released={video.released}
|
||||
upcoming={video.upcoming}
|
||||
watched={video.watched}
|
||||
progress={video.progress}
|
||||
deepLinks={video.deepLinks}
|
||||
scheduled={video.scheduled}
|
||||
seasonWatched={seasonWatched}
|
||||
selected={video.id === selectedVideoId}
|
||||
onMarkVideoAsWatched={onMarkVideoAsWatched}
|
||||
onMarkSeasonAsWatched={onMarkSeasonAsWatched}
|
||||
/>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue