fixes
This commit is contained in:
parent
1687a71d8b
commit
0406af40b8
@ -361,14 +361,19 @@ export const ProjectTracker = () => {
|
|||||||
</span> */}
|
</span> */}
|
||||||
<p>добавить колонку</p>
|
<p>добавить колонку</p>
|
||||||
</div>
|
</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 && (
|
{projectBoard.projectUsers?.length > 3 && (
|
||||||
<span className="countPersons">+1...</span>
|
<span className="countPersons">+1...</span>
|
||||||
)}
|
)}
|
||||||
{Boolean(projectBoard.projectUsers?.length) &&
|
{Boolean(projectBoard.projectUsers?.length) && (
|
||||||
<div className="projectPersons">
|
<div className="projectPersons">
|
||||||
{
|
{projectBoard.projectUsers.slice(0, 3).map((person) => {
|
||||||
projectBoard.projectUsers.slice(0, 3).map((person) => {
|
|
||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
key={person.user_id}
|
key={person.user_id}
|
||||||
@ -382,7 +387,7 @@ export const ProjectTracker = () => {
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
}
|
)}
|
||||||
<span
|
<span
|
||||||
className="addPerson"
|
className="addPerson"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user