use batch for vo
This commit is contained in:
parent
6071b71752
commit
7fe4b02552
1 changed files with 4 additions and 1 deletions
|
@ -567,7 +567,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
],
|
],
|
||||||
operator: '&'
|
operator: '&'
|
||||||
},
|
},
|
||||||
keys: ['title', 'type', 'id'],
|
keys: ['title', 'type', 'id', 'batch'],
|
||||||
range: [0, 10]
|
range: [0, 10]
|
||||||
};
|
};
|
||||||
$element.appendTo($text);
|
$element.appendTo($text);
|
||||||
|
@ -575,6 +575,9 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
response.data.items.forEach(item => {
|
response.data.items.forEach(item => {
|
||||||
if (item.id != data.id) {
|
if (item.id != data.id) {
|
||||||
var type = item.type ? item.type[0] : 'Unknown'
|
var type = item.type ? item.type[0] : 'Unknown'
|
||||||
|
if (type == 'Voice Over' && item.batch) {
|
||||||
|
type = item.batch
|
||||||
|
}
|
||||||
$element.append(
|
$element.append(
|
||||||
` <a href="/${item.id}/info">${type}</a>`
|
` <a href="/${item.id}/info">${type}</a>`
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue