diff --git a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts index cde5b552c..37d8bef0d 100644 --- a/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.ts @@ -1386,11 +1386,7 @@ export class WorkflowEditDialogComponent if (action.type !== WorkflowActionType.Email) { action.email = null } - if (action.type === WorkflowActionType.PasswordRemoval) { - action.passwords = this.parsePasswords(action.passwords as any) - } else { - delete action.passwords - } + action.passwords = this.parsePasswords(action.passwords as any) }) super.save() }