1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #1386 from J-Swift/dev-fix-livetv-icon-caching-bug

Fix issue where shows without icons would use the last icon that was displayed
This commit is contained in:
Luke 2016-01-11 21:47:44 -05:00
commit f12655903c

View file

@ -6,8 +6,8 @@
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
var html = '';
var index = '';
var imgUrl;
for (var i = 0, length = timers.length; i < length; i++) {
@ -31,8 +31,8 @@
html += '<paper-icon-item>';
var program = timer.ProgramInfo || {};
var imgUrl;
imgUrl = null;
if (program.ImageTags && program.ImageTags.Primary) {
imgUrl = ApiClient.getScaledImageUrl(program.Id, {