show webhook failure front (#3044)
This commit is contained in:
@@ -167,6 +167,15 @@ function TaskDetails() {
|
||||
</div>
|
||||
) : null;
|
||||
|
||||
const webhookFailureReason = task?.webhook_failure_reason ? (
|
||||
<div className="space-y-1">
|
||||
<Label>Webhook Failure Reason</Label>
|
||||
<div className="rounded-md border border-yellow-600 p-4 text-sm">
|
||||
{task.webhook_failure_reason}
|
||||
</div>
|
||||
</div>
|
||||
) : null;
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-8">
|
||||
<header className="space-y-3">
|
||||
@@ -267,6 +276,7 @@ function TaskDetails() {
|
||||
<>
|
||||
{extractedInformation}
|
||||
{failureReason}
|
||||
{webhookFailureReason}
|
||||
</>
|
||||
)}
|
||||
<SwitchBarNavigation
|
||||
|
||||
Reference in New Issue
Block a user