tests
This commit is contained in:
@@ -154,7 +154,7 @@ const MainForm = () => {
|
||||
onSortRequest={handleSort}
|
||||
/>
|
||||
<TableBody>
|
||||
{versionRxSwins.map((row, index) => (
|
||||
{versionRxSwins && versionRxSwins.map((row, index) => (
|
||||
<TableRow key={index}>
|
||||
<TableCell align="center">
|
||||
{row.rxswin}
|
||||
@@ -183,7 +183,7 @@ const MainForm = () => {
|
||||
</TableBody>
|
||||
<TableFooter>
|
||||
<TableRow>
|
||||
{versionRxSwins.length === 0 ? (
|
||||
{!versionRxSwins || versionRxSwins.length === 0 ? (
|
||||
<TableCell colSpan={8} align="center">No RX Identification Numbers</TableCell>
|
||||
) : (
|
||||
<TablePagination
|
||||
|
||||
Reference in New Issue
Block a user