fix: WorkflowEditor TypeScript unknown type cast
This commit is contained in:
@@ -169,7 +169,7 @@ export function WorkflowEditor({ open, workflow, onClose }: WorkflowEditorProps)
|
||||
// Show detailed validation errors from backend (422)
|
||||
if (err.validationErrors) {
|
||||
const details = Object.entries(err.validationErrors)
|
||||
.map(([field, msgs]) => `${field}: ${msgs.join(', ')}`)
|
||||
.map(([field, msgs]) => `${field}: ${(msgs as string[]).join(', ')}`)
|
||||
.join('; ');
|
||||
toast.error(`Validierungsfehler: ${details}`);
|
||||
} else if (err.detail) {
|
||||
|
||||
Reference in New Issue
Block a user