Skip to content

Commit

Permalink
Prevent calling output on an undefined record (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
djalan authored Dec 20, 2024
1 parent 6cefe40 commit 665ef39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/executions/BusyList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<div className="execution-output">{record.output || "Empty output"}</div>);
return (<div className="execution-output">{record?.output || "Empty output"}</div>);
};

export const BusyList = (props: any) => (
Expand Down

0 comments on commit 665ef39

Please sign in to comment.