Web: Files : Home : Fixed MediaViewer collection with selectors
This commit is contained in:
parent
577fc5ac70
commit
cdaef9e76f
@ -1338,13 +1338,9 @@ class SectionBodyContent extends React.Component {
|
||||
var playlist = [];
|
||||
let id = 0;
|
||||
|
||||
if (files) {
|
||||
files.forEach(function (file, i, files) {
|
||||
if (
|
||||
isImage(file.fileExst) ||
|
||||
isSound(file.fileExst) ||
|
||||
isVideo(file.fileExst)
|
||||
) {
|
||||
if (items) {
|
||||
items.forEach(function (file, i, files) {
|
||||
if (file.canOpenPlayer) {
|
||||
playlist.push({
|
||||
id: id,
|
||||
fileId: file.id,
|
||||
|
Loading…
Reference in New Issue
Block a user