Feedback from code reviews

This commit is contained in:
2022-07-26 16:38:21 -05:00
parent 4e2af0f573
commit a365b8e017
2 changed files with 10 additions and 23 deletions

View File

@ -475,7 +475,7 @@ function EntityList({table}: Props): JSX.Element
const bulkLoadClicked = () =>
{
document.location.href = `/processes/${tableName}.bulkInsert${getRecordsQueryString()}`;
document.location.href = `/processes/${tableName}.bulkInsert`;
};
const bulkEditClicked = () =>
@ -630,7 +630,15 @@ function EntityList({table}: Props): JSX.Element
<MDBox my={3}>
{alertContent ? (
<MDBox mb={3}>
<Alert severity="error">{alertContent}</Alert>
<Alert
severity="error"
onClose={() =>
{
setAlertContent(null);
}}
>
{alertContent}
</Alert>
</MDBox>
) : (
""