Do not show play button for undownloaded media

This commit is contained in:
Josh Perez 2021-10-04 18:29:11 -04:00 committed by GitHub
parent 9a9fc60103
commit 59f8243a0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,7 @@ export class Image extends React.Component<Props> {
)}
/>
) : null}
{!pending && playIconOverlay ? (
{!pending && !hasNotDownloaded && playIconOverlay ? (
<div className="module-image__play-overlay__circle">
<div className="module-image__play-overlay__icon" />
</div>