fix
This commit is contained in:
parent
d159f7bee1
commit
4f0d0d9634
@ -570,13 +570,12 @@ export const ProjectTracker = () => {
|
||||
<span
|
||||
className="add"
|
||||
onClick={() =>
|
||||
selectedTabTask(
|
||||
column.id,
|
||||
projectBoard?.columns
|
||||
? projectBoard?.columns[0].tasks.at(-1)
|
||||
.priority + 1
|
||||
: 1
|
||||
)
|
||||
{
|
||||
selectedTabTask(
|
||||
column.id,
|
||||
projectBoard?.columns && column.tasks.length ? column.tasks.at(-1).priority + 1 : 1
|
||||
)
|
||||
}
|
||||
}
|
||||
>
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user