fixes
This commit is contained in:
parent
1687a71d8b
commit
0406af40b8
@ -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={() => {
|
||||
|
Loading…
Reference in New Issue
Block a user