Update src/components/screens/allCases/AllCases.tsx

Co-authored-by: Herik Hiteshkumar Modi <herik.modi@navi.com>
This commit is contained in:
Aman Singh
2022-12-08 15:01:25 +05:30
committed by GitHub Enterprise
parent 79c14d8fe8
commit c7fbb6d702

View File

@@ -74,7 +74,7 @@ const CardItem: React.FC<Data> = props => {
const Item = (props: IItem) => {
const propData = props.data.item;
const todoList = props.todoList;
let compleatdCount = 0;
let completedCount = 0;
todoList.forEach(todo =>
todo.caseStatus === 'compleated' ? compleatdCount++ : compleatdCount,
);