Skip to content

Commit

Permalink
Always update justification of contribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-fu committed Jul 2, 2024
1 parent da3d63d commit 48e92d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ui/src/contribution/slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,8 @@ export const contributionSlice = createSlice({
}>
) {
if (
state.selectedContribution.value !== undefined &&
state.selectedContribution.value?.idPersistent !==
action.payload.idContributionPersistent
state.selectedContribution.value?.idPersistent ===
action.payload.idContributionPersistent
) {
state.selectedContribution.value.justification =
action.payload.justification
Expand Down

0 comments on commit 48e92d4

Please sign in to comment.