mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/components/indicators/indicators.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
b6580053c0
commit
4845b22871
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
export function getProgressBarHtml(item, options) {
|
||||
let pct;
|
||||
if (enableProgressIndicator(item) && item.Type !== "Recording") {
|
||||
const userData = options && options.userData ? options.UserData : item.UserData;
|
||||
const userData = options && options.userData ? options.userData : item.UserData;
|
||||
if (userData) {
|
||||
pct = userData.PlayedPercentage;
|
||||
if (pct && pct < 100) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue