Merge branch 'main' of https://github.com/apuc/outstaffing-react into fix-tracker-and-statistics
This commit is contained in:
commit
cc38b06bdf
@ -91,7 +91,8 @@ 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(
|
||||||
@ -153,7 +154,8 @@ export const TicketFullScreen = () => {
|
|||||||
setCorrectProjectUsers(res.projectUsers);
|
setCorrectProjectUsers(res.projectUsers);
|
||||||
});
|
});
|
||||||
setLoader(boardLoader);
|
setLoader(boardLoader);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
function deleteTask() {
|
function deleteTask() {
|
||||||
|
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user