count fix

This commit is contained in:
Virginie Ky 2019-09-18 18:11:31 +02:00
parent 84adbf3bcf
commit 0c6508af52

View File

@ -74,7 +74,7 @@ function MediaPreviewList({ hoverable, files }) {
return (
<React.Fragment key={JSON.stringify(file)}>
{index === 3 && files.length - 4 > 0
? renderText(files.length - 4)
? renderText(files.length - 3)
: renderItem(file)}
</React.Fragment>
);