fallback to empty string not undefined

This commit is contained in:
j 2023-06-10 12:49:48 +01:00
parent 614beae48e
commit 0d70326aa8

View file

@ -1165,7 +1165,7 @@ pandora.formatDocumentKey = function(key, data, size) {
value.css({width: size * 0.75 + 'px'});
}
} else {
value = data[key.id];
value = data[key.id] || '';
if (key.id == 'extension') {
value = value.toUpperCase();
} else if (key.id == 'dimensions') {