TSK-507: Assignee box Direction line is hidden to early (#2485)

Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
Denis Maslennikov
2022-12-30 14:55:01 +07:00
committed by GitHub
parent 673eec8110
commit 27bdd26d06
3 changed files with 52 additions and 14 deletions
@@ -75,11 +75,12 @@
}
const projectsInfo = [
{ id: null, icon: tracker.icon.Projects, label: tracker.string.NoProject },
{ id: null, icon: tracker.icon.Projects, label: tracker.string.NoProject, isSelected: !selectedProject },
...rawProjects.map((p) => ({
id: p._id,
icon: p.icon,
text: p.label
text: p.label,
isSelected: selectedProject ? p._id === selectedProject._id : false
}))
]