mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 01:27:07 +00:00
fix movie and TV show not showing header information when language is not set
This commit is contained in:
parent
ea1844265a
commit
7b5e45d952
2 changed files with 2 additions and 2 deletions
|
@ -853,7 +853,7 @@
|
||||||
$('#seriesFileCount').text(seriesDetails['episodeFileCount'] + ' files');
|
$('#seriesFileCount').text(seriesDetails['episodeFileCount'] + ' files');
|
||||||
|
|
||||||
var languages = '';
|
var languages = '';
|
||||||
if (seriesDetails['languages'] !== 'None') {
|
if (seriesDetails['languages'] && seriesDetails['languages'] !== 'None') {
|
||||||
seriesDetails['languages'].forEach(appendFunc);
|
seriesDetails['languages'].forEach(appendFunc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -703,7 +703,7 @@
|
||||||
$('#movieMappedPath').attr("data-original-title", movieDetails['mapped_path']);
|
$('#movieMappedPath').attr("data-original-title", movieDetails['mapped_path']);
|
||||||
|
|
||||||
var languages = '';
|
var languages = '';
|
||||||
if (movieDetails['languages'] !== 'None') {
|
if (movieDetails['languages'] && movieDetails['languages'] !== 'None') {
|
||||||
movieDetails['languages'].forEach(appendFunc);
|
movieDetails['languages'].forEach(appendFunc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue