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

View File

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