Update src/components/screens/allCases/AllCases.tsx
Co-authored-by: Herik Hiteshkumar Modi <herik.modi@navi.com>
This commit is contained in:
committed by
GitHub Enterprise
parent
79c14d8fe8
commit
c7fbb6d702
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user