This commit is contained in:
Mikola 2023-10-13 14:38:11 +03:00
parent 95ba471e1f
commit 356104b475
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export const TicketFullScreen = () => {
const { showNotification } = useNotification(); const { showNotification } = useNotification();
useEffect(() => { useEffect(() => {
apiRequest(`/task/get-task?task_id=${ticketId.id}`).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(

View File

@ -14,7 +14,7 @@ const initialState = {
}; };
export const setProjectBoardFetch = createAsyncThunk("userInfo", (id) => export const setProjectBoardFetch = createAsyncThunk("userInfo", (id) =>
apiRequest(`/project/get-project?project_id=${id}&expand=columns`) apiRequest(`/project/get-project?project_id=${id}&expand=columns,mark`)
); );
export const projectsTrackerSlice = createSlice({ export const projectsTrackerSlice = createSlice({