use batch for vo

This commit is contained in:
j 2023-10-19 15:52:55 +01:00
parent 6071b71752
commit 7fe4b02552

View file

@ -567,7 +567,7 @@ pandora.ui.infoView = function(data, isMixed) {
],
operator: '&'
},
keys: ['title', 'type', 'id'],
keys: ['title', 'type', 'id', 'batch'],
range: [0, 10]
};
$element.appendTo($text);
@ -575,6 +575,9 @@ pandora.ui.infoView = function(data, isMixed) {
response.data.items.forEach(item => {
if (item.id != data.id) {
var type = item.type ? item.type[0] : 'Unknown'
if (type == 'Voice Over' && item.batch) {
type = item.batch
}
$element.append(
` <a href="/${item.id}/info">${type}</a>`
)