mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
fix: dismiss was visible on all library items
This commit is contained in:
parent
168534321e
commit
943091c9ce
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const LibItem = ({ _id, removable, notifications, watched, ...props }) => {
|
|||
case 'watched':
|
||||
return props.deepLinks && (typeof props.deepLinks.metaDetailsVideos === 'string' || typeof props.deepLinks.metaDetailsStreams === 'string');
|
||||
case 'dismiss':
|
||||
return typeof _id === 'string' && props.progress !== null && !isNaN(props.progress);
|
||||
return typeof _id === 'string' && props.progress !== null && !isNaN(props.progress) && props.progress > 0;
|
||||
case 'remove':
|
||||
return typeof _id === 'string' && removable;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue