This commit is contained in:
Mikola 2023-10-13 14:39:01 +03:00
parent 356104b475
commit 2af61e5a7a

View File

@ -91,7 +91,8 @@ export const TicketFullScreen = () => {
const { showNotification } = useNotification(); const { showNotification } = useNotification();
useEffect(() => { useEffect(() => {
apiRequest(`/task/get-task?task_id=${ticketId.id}&expand=mark`).then((taskInfo) => { apiRequest(`/task/get-task?task_id=${ticketId.id}&expand=mark`).then(
(taskInfo) => {
setTaskInfo(taskInfo); setTaskInfo(taskInfo);
setDeadLine(taskInfo.dead_line); setDeadLine(taskInfo.dead_line);
setStartDate( setStartDate(
@ -153,7 +154,8 @@ export const TicketFullScreen = () => {
setCorrectProjectUsers(res.projectUsers); setCorrectProjectUsers(res.projectUsers);
}); });
setLoader(boardLoader); setLoader(boardLoader);
}); }
);
}, []); }, []);
function deleteTask() { function deleteTask() {