Skip to content

Commit 8355c7f

Browse files
authored
fix(ui): edit conditions on notifications (#5035)
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
1 parent f346408 commit 8355c7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/app/views/workflow/show/notification/form/workflow.notifications.form.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
<div class="field">
8383
<label>{{ 'workflow_notification_conditions' | translate }}</label>
8484
<app-conditions *ngIf="!loading" [project]="project"
85+
[readonly]="!project.permissions.writable"
8586
[triggerConditions]="triggerConditions" [(conditions)]="notification.settings.conditions">
8687
</app-conditions>
8788
</div>

0 commit comments

Comments
 (0)