Skip to content

Commit

Permalink
TH-113781: fixed project status update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bcgov-brwang committed Apr 5, 2024
1 parent 17427e1 commit 40a73c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/js/reducers/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export default function modelsReducer(state = DEFAULT_MODELS, action) {

case Action.ADD_PROJECT:
case Action.UPDATE_PROJECT: {
const projectId = action.project.id;
const projectId = action.project !== undefined? action.project.id: action.updatedProject.id;
const project = {
notes: [],
...state.project[projectId],
Expand Down

0 comments on commit 40a73c7

Please sign in to comment.