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

update cards

This commit is contained in:
Luke Pulverenti 2016-08-30 00:33:24 -04:00
parent 0659c5bdc1
commit 228cefadd8
19 changed files with 78 additions and 47 deletions

View file

@ -32,7 +32,7 @@ define(['css!./indicators.css', 'material-icons'], function () {
return getProgressHtml(item.CompletionPercentage, options);
}
var userData = item.UserData;
var userData = options ? (options.userData || item.UserData) : item.UserData;
if (userData) {
var pct = userData.PlayedPercentage;