This commit is contained in:
Николай Полтщук 2023-08-10 18:57:06 +03:00
parent 1687a71d8b
commit 0406af40b8

View File

@ -361,14 +361,19 @@ export const ProjectTracker = () => {
</span> */}
<p>добавить колонку</p>
</div>
<div className={projectBoard.projectUsers?.length ? "tasks__head__persons" : "tasks__head__persons noProjectUsers"}>
<div
className={
projectBoard.projectUsers?.length
? "tasks__head__persons"
: "tasks__head__persons noProjectUsers"
}
>
{projectBoard.projectUsers?.length > 3 && (
<span className="countPersons">+1...</span>
)}
{Boolean(projectBoard.projectUsers?.length) &&
{Boolean(projectBoard.projectUsers?.length) && (
<div className="projectPersons">
{
projectBoard.projectUsers.slice(0, 3).map((person) => {
{projectBoard.projectUsers.slice(0, 3).map((person) => {
return (
<img
key={person.user_id}
@ -382,7 +387,7 @@ export const ProjectTracker = () => {
);
})}
</div>
}
)}
<span
className="addPerson"
onClick={() => {