Skip to content

Commit

Permalink
fix: cronjob total amount (#5095)
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 authored Sep 23, 2024
1 parent 582dd4f commit 94d7e32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function AppBaseInfo({ data }: { data?: JobList }) {
const { JobDetail, loadJobDetail } = useJobStore();
const { copyData } = useCopyData();

const [successAmount, failAmount] = useMemo(() => {
const [totalAmount, successAmount, failAmount] = useMemo(() => {
if (data?.total) {
return [data?.total, data?.successAmount, data.total - data.successAmount];
} else {
Expand Down

0 comments on commit 94d7e32

Please sign in to comment.