From 356104b4751e54694ebc19314f22f3c67da8d913 Mon Sep 17 00:00:00 2001 From: Mikola Date: Fri, 13 Oct 2023 14:38:11 +0300 Subject: [PATCH] traker --- .../Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx | 2 +- src/redux/projectsTrackerSlice.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx index 7a7f38e6..30bfa98e 100644 --- a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx +++ b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx @@ -91,7 +91,7 @@ export const TicketFullScreen = () => { const { showNotification } = useNotification(); 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); setDeadLine(taskInfo.dead_line); setStartDate( diff --git a/src/redux/projectsTrackerSlice.js b/src/redux/projectsTrackerSlice.js index 7a4b7023..88bcb6ef 100644 --- a/src/redux/projectsTrackerSlice.js +++ b/src/redux/projectsTrackerSlice.js @@ -14,7 +14,7 @@ const initialState = { }; 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({