Skip to content

Commit

Permalink
fix(projectTaskStatus): dialog task_status text update on task update (
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 authored Jul 29, 2024
1 parent 5512d55 commit a7eec0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/api/ProjectTaskStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/store/slices/ProjectSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit a7eec0f

Please sign in to comment.