diff options
author | LASER-Yi <[email protected]> | 2022-02-01 23:47:22 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2022-02-01 23:47:22 +0800 |
commit | d475b8591d3c23fcf72ccc337ed58314b956a910 (patch) | |
tree | 68a1bbc56c25ae7252d6c6a7f5b959eee2c55671 | |
parent | f6c660a2d0d96c878d9128e26c19b46381e0c40a (diff) | |
download | bazarr-d475b8591d3c23fcf72ccc337ed58314b956a910.tar.gz bazarr-d475b8591d3c23fcf72ccc337ed58314b956a910.zip |
Fix #1701
-rw-r--r-- | frontend/src/pages/Series/index.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/frontend/src/pages/Series/index.tsx b/frontend/src/pages/Series/index.tsx index 334f86d99..bab2f1ba3 100644 --- a/frontend/src/pages/Series/index.tsx +++ b/frontend/src/pages/Series/index.tsx @@ -67,9 +67,10 @@ const SeriesView: FunctionComponent<Props> = () => { Header: "Episodes", accessor: "episodeFileCount", selectHide: true, - Cell: (row) => { - const { episodeFileCount, episodeMissingCount, profileId } = - row.row.original; + Cell: ({ row }) => { + const { episodeFileCount, episodeMissingCount, profileId, title } = + row.original; + let progress = 0; let label = ""; if (episodeFileCount === 0 || !profileId) { @@ -86,6 +87,7 @@ const SeriesView: FunctionComponent<Props> = () => { return ( <ProgressBar className="my-a" + key={title} variant={color} min={0} max={episodeFileCount} |