diff --git a/resources/js/Components/Pages/RecordsPage.jsx b/resources/js/Components/Pages/RecordsPage.jsx
index 758c3370c..9760a1daf 100644
--- a/resources/js/Components/Pages/RecordsPage.jsx
+++ b/resources/js/Components/Pages/RecordsPage.jsx
@@ -119,11 +119,17 @@ export default class RecordsPage extends Page {
);
}
- return this.rows.map((row, index) => (
-
- {row.map((cell, index_) => {cell})}
-
- ));
+ return this.rows.map((row, index) => {
+ if (typeof row === 'undefined') {
+ return [];
+ }
+
+ return (
+
+ {row.map((cell, index_) => {cell})}
+
+ );
+ });
}
recordDialog() {