Skip to content

Commit

Permalink
Fix sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-scott committed Sep 13, 2023
1 parent a211a6f commit aa6b071
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export abstract class AddParticipantBaseDirective extends BookingBaseComponent i
this.displayErrorNoParticipants = false;
this.displayAdd();
this.enableFields();
this.participantDetails = Object.assign({}, participantDetails);
this.participantDetails = { ...participantDetails };

if (participantDetails.is_exist_person) {
this.disableLastFirstNames();
Expand Down

0 comments on commit aa6b071

Please sign in to comment.