small fix

This commit is contained in:
Victor Batischev
2024-02-06 18:22:06 +03:00
parent e9235884dd
commit ef8a0813b3
6 changed files with 56 additions and 75 deletions

View File

@ -397,15 +397,8 @@ export const ProjectTracker = () => {
div.classList.contains("tags__list"))
)
) {
setTags({
open: false,
add: false,
edit: false
});
setTagInfo({
description: "",
name: ""
});
setTags({ open: false, add: false, edit: false });
setTagInfo({ description: "", name: "" });
setColor("#aabbcc");
}
@ -962,20 +955,11 @@ export const ProjectTracker = () => {
src={commentsBoard}
alt="commentsImg"
/>
<span>
{task.comment_count}{" "}
{/* {caseOfNum(
task.comment_count,
"comments"
)} */}
</span>
<span>{task.comment_count}</span>
</div>
<div className="tasks__board__item__info__more">
<img src={filesBoard} alt="filesImg" />
<span>
{task.file_count ? task.file_count : 0}{" "}
{/* {caseOfNum(0, "files")} */}
</span>
<span>{task.file_count}</span>
</div>
</div>
<TrackerSelectColumn