Skip to content

Commit 1daf9bb

Browse files
committed
chore: update condition to show retry without attachments
1 parent 133463e commit 1daf9bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/frontend/src/components/ExecutionStep/hooks/useExecutionStepStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function useExecutionStepStatus({
7070
// - attachment is password-protected; AND/OR
7171
// - attachment is unsupported
7272
if (
73-
errorDetails?.details?.code === 'invalid_template' ||
73+
errorDetails?.name === 'Unsupported attachment file type' ||
7474
errorDetails?.name === 'Password-protected attachment(s)'
7575
) {
7676
return 'Retry without attachments'

0 commit comments

Comments
 (0)