Skip to content

Commit

Permalink
fix(cavatica): SKFP-895 should update list when a new project is crea…
Browse files Browse the repository at this point in the history
…ted (#3890)
  • Loading branch information
lflangis authored Jan 26, 2024
1 parent 1af586f commit d5a274e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/passport/slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const passportSlice = createSlice({
});
builder.addCase(createCavaticaProjet.fulfilled, (state, action) => {
state.cavatica.projects.loading = false;
state.cavatica.projects.data.push(action.payload.newProject);
});
builder.addCase(createCavaticaProjet.rejected, (state, action) => {
state.cavatica.projects.loading = false;
Expand Down

0 comments on commit d5a274e

Please sign in to comment.