Fix: remove id of webhook/email actions on copy (#8729)

This commit is contained in:
shamoon
2025-01-14 05:44:40 -08:00
committed by GitHub
parent 18e3ad8b22
commit ab87aedfc7
4 changed files with 67 additions and 10 deletions

View File

@@ -180,7 +180,7 @@
<input type="hidden" formControlName="id" />
<pngx-input-select i18n-title title="Action type" [horizontal]="true" [items]="actionTypeOptions" formControlName="type"></pngx-input-select>
@switch(formGroup.get('type').value) {
@case ( WorkflowActionType.Assignment) {
@case (WorkflowActionType.Assignment) {
<div class="row">
<div class="col">
<pngx-input-text i18n-title title="Assign title" formControlName="assign_title" i18n-hint hint="Can include some placeholders, see <a target='_blank' href='https://docs.paperless-ngx.com/usage/#workflows'>documentation</a>." [error]="error?.actions?.[i]?.assign_title"></pngx-input-text>