fix
This commit is contained in:
parent
d159f7bee1
commit
4f0d0d9634
@ -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
|
}
|
||||||
)
|
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user