no stats without video

This commit is contained in:
j 2019-11-19 17:43:56 +01:00
parent f15fd92e17
commit bdd2594298

View file

@ -319,7 +319,7 @@ pandora.ui.infoView = function(data, isMixed) {
// Duration, Aspect Ratio --------------------------------------------------
if (!isMultiple) {
if (!isMultiple && data.parts && data.rendered) {
['duration', 'aspectratio'].forEach(function(key) {
var itemKey = Ox.getObjectById(pandora.site.itemKeys, key),
value = data[key] || 0;