From 6fe741d1b3925f7b1d7d20e58e7b4becf18feeee Mon Sep 17 00:00:00 2001 From: DjAlan Date: Fri, 13 Dec 2024 15:45:25 -0500 Subject: [PATCH] Prevent calling output on an undefined record --- ui/src/executions/BusyList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/executions/BusyList.tsx b/ui/src/executions/BusyList.tsx index 3afd6651c..2803b8e2a 100644 --- a/ui/src/executions/BusyList.tsx +++ b/ui/src/executions/BusyList.tsx @@ -2,7 +2,7 @@ import * as React from "react"; import { List, Datagrid, TextField, DateField } from 'react-admin'; export const OutputPanel = ({ id, record, resource }: any) => { - return (
{record.output || "Empty output"}
); + return (
{record?.output || "Empty output"}
); }; export const BusyList = (props: any) => (