Skip to content

Commit

Permalink
Merge pull request #2235 from bcgov/1.10.9-bugfix
Browse files Browse the repository at this point in the history
TH-113781: fixed project status update issue
  • Loading branch information
bcgov-brwang authored Apr 8, 2024
2 parents 17427e1 + 40a73c7 commit aed97c3
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 aed97c3

Please sign in to comment.