forked from 0x2620/pandora
avoid storing invalid poster frames, only show videos with video
This commit is contained in:
parent
b8beb51480
commit
1bff4aa0e9
2 changed files with 7 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue