fix(legacy): don't print track_type id in show builder table (#2510)
This commit is contained in:
parent
ade4d2736f
commit
4bf729679e
2 changed files with 13 additions and 1 deletions
|
@ -1096,6 +1096,18 @@ var AIRTIME = (function (AIRTIME) {
|
|||
});
|
||||
})
|
||||
.html(type_button);
|
||||
} else {
|
||||
// Not on dashboard (show builder)
|
||||
if (
|
||||
aData.track_type_id == null ||
|
||||
aData.track_type_id == undefined ||
|
||||
aData.track_type_id == 0
|
||||
) {
|
||||
var track_type_code = "";
|
||||
} else {
|
||||
var track_type_code = TRACKTYPES[aData.track_type_id].code;
|
||||
}
|
||||
$(nRow).find("td.library_track_type").html(track_type_code);
|
||||
}
|
||||
|
||||
// add audio preview image/button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue