Skip to content

Commit

Permalink
fix: add an extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-golovanov committed Dec 5, 2024
1 parent c5993f9 commit 9fe13c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function Response(props: ResponseProps) {
return { currentContentType, contentTypeOptions };
}, [responseDisplayFormat, responseDataTypes]);

const showRecordCount = actionResponse?.dataTypes.some(
const showRecordCount = actionResponse?.dataTypes?.some(
({ dataType }) => dataType === "TABLE",
);

Expand Down

0 comments on commit 9fe13c3

Please sign in to comment.