update deletion failure modal

This commit is contained in:
Rory Powell 2022-08-26 13:12:33 +01:00
parent 5c7869d21d
commit ea6de7c428
2 changed files with 5 additions and 3 deletions

View File

@ -52,7 +52,7 @@
<ModalContent
size="M"
title={title}
{title}
confirmText="Close"
showCloseIcon={false}
showCancelButton={false}
@ -61,7 +61,7 @@
{message}
</Body>
<Table
schema={schema}
{schema}
data={unsuccessfulUsers}
allowEditColumns={false}
allowEditRows={false}

View File

@ -187,7 +187,9 @@
if (deleteUsersResponse.unsuccessful?.length) {
deletionFailureModal.show()
} else {
notifications.success(`Successfully deleted ${selectedRows.length} users`)
notifications.success(
`Successfully deleted ${selectedRows.length} users`
)
}
selectedRows = []