Update src/components/indicators/indicators.js

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Sarab Singh
2020-05-10 22:05:09 +05:30
committed by GitHub
parent b6580053c0
commit 4845b22871
+1 -1
View File
@@ -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) {