mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
refactor(Video): add !watched check
This commit is contained in:
parent
8ab582080d
commit
e316b07649
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ const Video = ({ className, id, title, thumbnail, season, episode, released, upc
|
||||||
const blurThumbnail = profile.settings.hideSpoilers && season && episode && !watched;
|
const blurThumbnail = profile.settings.hideSpoilers && season && episode && !watched;
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
selected && ref.current?.scrollIntoView({
|
selected && !watched && ref.current?.scrollIntoView({
|
||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
block: 'nearest',
|
block: 'nearest',
|
||||||
inline: 'start'
|
inline: 'start'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue