diff --git a/assets/js/components/Table.js b/assets/js/components/Table.js index 2b1d0ff..fc948a3 100644 --- a/assets/js/components/Table.js +++ b/assets/js/components/Table.js @@ -58,14 +58,14 @@ class Table extends Component { } render() { - const tableRows = this.state.records.map((p, i) => ( + const tableRows = this.state.records.length > 0 ? this.state.records.map((p, i) => (