This commit is contained in:
Николай Полтщук 2023-08-11 22:39:04 +03:00
parent d159f7bee1
commit 4f0d0d9634

View File

@ -570,14 +570,13 @@ export const ProjectTracker = () => {
<span <span
className="add" className="add"
onClick={() => onClick={() =>
{
selectedTabTask( selectedTabTask(
column.id, column.id,
projectBoard?.columns projectBoard?.columns && column.tasks.length ? column.tasks.at(-1).priority + 1 : 1
? projectBoard?.columns[0].tasks.at(-1)
.priority + 1
: 1
) )
} }
}
> >
+ +
</span> </span>