1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

update deletion failure modal

This commit is contained in:
Rory Powell 2022-08-26 13:12:33 +01:00
parent 1eb4aae050
commit 415678ee8a
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 = []