avoid storing invalid poster frames, only show videos with video

This commit is contained in:
j 2016-04-01 16:40:20 +02:00
commit 1bff4aa0e9
2 changed files with 7 additions and 2 deletions

View file

@ -481,7 +481,9 @@ pandora.ui.listIconPanel = function(listData) {
query: {
conditions: ui.section == 'items'
? [{key: 'list', value: listData.id, operator: '=='}]
: listData.query ? listData.query.conditions : [],
: listData.query
? listData.query.conditions
: [{key: 'duration', value: '00:00:00', operator: '>'}],
operator: '&'
}
}), callback);