Skip to content

Commit

Permalink
Hide amendment actions completely
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel committed Sep 30, 2024
1 parent 14e7d03 commit 1e0413e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
>
<mat-icon>more_horiz</mat-icon>
</button>
@if (isAmendment(change)) {
@if (isAmendment(change) && !noEditMode) {
<button
mat-icon-button
type="button"
Expand Down Expand Up @@ -153,7 +153,7 @@
</a>

<!-- perms.isAllowed('change_state', motion) (which does not exist)-->
<ng-container *osPerms="permission.motionCanManage; and: !noEditMode">
<ng-container *osPerms="permission.motionCanManage">
@if (change.amendment.state.next_states.length > 0) {
<mat-divider></mat-divider>
}
Expand Down

0 comments on commit 1e0413e

Please sign in to comment.