Add table prop to BasicTable to specify table name

This commit is contained in:
Alex Holliday committed 2024-08-22 13:54:21 -07:00
1 parent d5daa14a98
commit 710fad0ec8
4 files changed
+9 -8

No files matched your search

@@ -330,9 +330,7 @@ const DetailsPage = () => {
</Box>
<Stack gap={theme.gap.ml}>
<Typography component="h2">History</Typography>
{/* TODO New Table */}
<PaginationTable monitorId={monitorId} dateRange={dateRange} />
{/* <BasicTable data={data} paginated={true} /> */}
</Stack>
</Stack>
</>
+1 -1
View File
@@ -452,7 +452,7 @@ const Monitors = () => {
</Box>
{/* TODO - add search bar */}
</Stack>
<BasicTable data={data} paginated={true} />
<BasicTable data={data} paginated={true} table={"monitors"} />
</Box>
</>
)}