mirror of https://github.com/morpheus65535/bazarr
Fix #1701
This commit is contained in:
parent
f6c660a2d0
commit
d475b8591d
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue