Skip to content

Commit

Permalink
CB-5833 adds comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyteleshev committed Oct 30, 2024
1 parent 1cea3ea commit ade8950
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export class UserFormInfoPart extends FormPart<IUserFormInfoState, IUserFormStat
authRole: getTransformedAuthRole(this.state.authRole),
enabled: this.state.enabled,
});
// userId is modified by backend and may not match value we sent, so we need to update the state
this.state.userId = user.userId;
this.initialState.userId = user.userId;
this.formState.setMode(FormMode.Edit);
Expand Down

0 comments on commit ade8950

Please sign in to comment.