Skip to content

Commit

Permalink
Fix unexpected present status change on user update (#3652)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel authored May 13, 2024
1 parent 3832ff1 commit 770c5b9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,10 @@ export class ParticipantDetailViewComponent extends BaseMeetingComponent {
) ||
(await this.promptService.open(title, content))
) {
if (this.operator.hasPerms(Permission.userCanManagePresence)) {
if (
this.operator.hasPerms(Permission.userCanManagePresence) &&
this.personalInfoFormValue.is_present !== undefined
) {
await this.repo
.update(payload, this.user!)
.concat(this.repo.setPresent(isPresent, this.user!))
Expand Down

0 comments on commit 770c5b9

Please sign in to comment.