mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
fix dupe titles
This commit is contained in:
parent
95e99a6716
commit
7bc57e287a
@ -306,7 +306,9 @@ define(['itemHelper', 'mediaInfo', 'indicators', 'connectionManager', 'layoutMan
|
|||||||
|
|
||||||
var mediaInfoClass = 'secondary listItemMediaInfo listItemBodyText';
|
var mediaInfoClass = 'secondary listItemMediaInfo listItemBodyText';
|
||||||
|
|
||||||
html += '<div class="' + mediaInfoClass + '">' + mediaInfo.getPrimaryMediaInfoHtml(item) + '</div>';
|
html += '<div class="' + mediaInfoClass + '">' + mediaInfo.getPrimaryMediaInfoHtml(item, {
|
||||||
|
episodeTitle: false
|
||||||
|
}) + '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (enableOverview && item.Overview) {
|
if (enableOverview && item.Overview) {
|
||||||
@ -321,7 +323,8 @@ define(['itemHelper', 'mediaInfo', 'indicators', 'connectionManager', 'layoutMan
|
|||||||
html += '<div class="secondary listItemMediaInfo">' + mediaInfo.getPrimaryMediaInfoHtml(item, {
|
html += '<div class="secondary listItemMediaInfo">' + mediaInfo.getPrimaryMediaInfoHtml(item, {
|
||||||
|
|
||||||
year: false,
|
year: false,
|
||||||
container: false
|
container: false,
|
||||||
|
episodeTitle: false
|
||||||
|
|
||||||
}) + '</div>';
|
}) + '</div>';
|
||||||
}
|
}
|
||||||
|
@ -178,7 +178,7 @@ define(['datetime', 'globalize', 'embyRouter', 'itemHelper', 'material-icons', '
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.IsSeries && item.EpisodeTitle) {
|
if (item.IsSeries && item.EpisodeTitle && options.episodeTitle !== false) {
|
||||||
miscInfo.push(itemHelper.getDisplayName(item));
|
miscInfo.push(itemHelper.getDisplayName(item));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user