Merge pull request #125 from apuc/tracker-tasks

Tracker tasks
This commit is contained in:
NikoM1k 2023-08-11 22:56:59 +03:00 committed by GitHub
commit 870fe6d4b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -410,7 +410,6 @@ export const TrackerModal = ({
"link", "link",
"bulletedList", "bulletedList",
"numberedList", "numberedList",
"blockQuote",
], ],
removePlugins: ["BlockQuote"], removePlugins: ["BlockQuote"],
placeholder: "Описание задачи", placeholder: "Описание задачи",

View File

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