diff --git a/src/frontend/src/api/ProjectTaskStatus.ts b/src/frontend/src/api/ProjectTaskStatus.ts index a1a5072fc..df747bef0 100755 --- a/src/frontend/src/api/ProjectTaskStatus.ts +++ b/src/frontend/src/api/ProjectTaskStatus.ts @@ -36,6 +36,7 @@ const UpdateTaskStatus = ( taskId, locked_by_uid: body?.id, locked_by_username: body?.username, + task_status: response.data.status, }), ); dispatch(CommonActions.SetLoading(false)); diff --git a/src/frontend/src/store/slices/ProjectSlice.ts b/src/frontend/src/store/slices/ProjectSlice.ts index 973c4d2b6..ed3c93497 100755 --- a/src/frontend/src/store/slices/ProjectSlice.ts +++ b/src/frontend/src/store/slices/ProjectSlice.ts @@ -162,6 +162,7 @@ const ProjectSlice = createSlice({ if (taskBoundary?.index === action.payload.taskId) { return { ...taskBoundary, + task_status: action.payload.task_status, locked_by_uid: action.payload.locked_by_uid, locked_by_username: action.payload.locked_by_username, };