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 authored and camillemonchicourt committed Sep 15, 2023
1 parent 2b06653 commit de57009
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 de57009

Please sign in to comment.