This commit is contained in:
LASER-Yi 2022-02-01 23:47:22 +08:00
parent f6c660a2d0
commit d475b8591d
No known key found for this signature in database
GPG Key ID: BB28903D50A1D408
1 changed files with 5 additions and 3 deletions

View File

@ -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}