tracker fix

This commit is contained in:
Mikola
2023-10-10 14:22:43 +03:00
parent fe2c45cb22
commit 3a832cc78d
5 changed files with 14 additions and 14 deletions

View File

@ -368,9 +368,6 @@ export const ProjectTracker = () => {
: "tasks__head__persons noProjectUsers"
}
>
{projectBoard.projectUsers?.length > 3 && (
<span className="countPersons">+1...</span>
)}
{Boolean(projectBoard.projectUsers?.length) && (
<div className="projectPersons">
{projectBoard.projectUsers.slice(0, 3).map((person) => {
@ -388,6 +385,9 @@ export const ProjectTracker = () => {
})}
</div>
)}
{projectBoard.projectUsers?.length > 3 && (
<span className="countPersons">+1</span>
)}
<span
className="addPerson"
onClick={() => {