diff --git a/src/components/Common/AuthHeader/AuthHeader.jsx b/src/components/Common/AuthHeader/AuthHeader.jsx index 57f4a333..b1e6c9bb 100644 --- a/src/components/Common/AuthHeader/AuthHeader.jsx +++ b/src/components/Common/AuthHeader/AuthHeader.jsx @@ -35,7 +35,14 @@ export const AuthHeader = () => {
{project.name}
+ +Открытые задачи
+ + {project.columns.reduce( + (accumulator, currentValue) => + accumulator + currentValue.tasks.length, + 0 + )} + + +Открытые задачи
- - {project.columns.reduce( - (accumulator, currentValue) => - accumulator + currentValue.tasks.length, - 0 - )} - - - setModalSelect(true)}> - ... - -