Merge pull request #884 from josdion/hermes

fix movie and TV show not showing header information
This commit is contained in:
morpheus65535 2020-03-24 17:08:25 -04:00 committed by GitHub
commit b375aa2a5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -853,7 +853,7 @@
$('#seriesFileCount').text(seriesDetails['episodeFileCount'] + ' files');
var languages = '';
if (seriesDetails['languages'] !== 'None') {
if (seriesDetails['languages'] && seriesDetails['languages'] !== 'None') {
seriesDetails['languages'].forEach(appendFunc);
}

View file

@ -703,7 +703,7 @@
$('#movieMappedPath').attr("data-original-title", movieDetails['mapped_path']);
var languages = '';
if (movieDetails['languages'] !== 'None') {
if (movieDetails['languages'] && movieDetails['languages'] !== 'None') {
movieDetails['languages'].forEach(appendFunc);
}