Skip to content

Commit

Permalink
fix(synthese) changed required permissions to change report
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Narcisi committed Sep 14, 2023
1 parent fedbf33 commit 4015985
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class AlertInfoComponent implements OnInit, OnChanges {
});
}
ngOnChanges() {
this.canChangeAlert = this.userCruved?.V && this.userCruved?.V > 0 && !isEmpty(this.alert);
this.canChangeAlert = this.userCruved?.R && this.userCruved?.R > 0 && !isEmpty(this.alert);
}
/**
* Create new alert with /reports GET service
Expand Down

0 comments on commit 4015985

Please sign in to comment.