update deletion failure modal
This commit is contained in:
parent
5c7869d21d
commit
ea6de7c428
2 changed files with 5 additions and 3 deletions
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
<ModalContent
|
<ModalContent
|
||||||
size="M"
|
size="M"
|
||||||
title={title}
|
{title}
|
||||||
confirmText="Close"
|
confirmText="Close"
|
||||||
showCloseIcon={false}
|
showCloseIcon={false}
|
||||||
showCancelButton={false}
|
showCancelButton={false}
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
{message}
|
{message}
|
||||||
</Body>
|
</Body>
|
||||||
<Table
|
<Table
|
||||||
schema={schema}
|
{schema}
|
||||||
data={unsuccessfulUsers}
|
data={unsuccessfulUsers}
|
||||||
allowEditColumns={false}
|
allowEditColumns={false}
|
||||||
allowEditRows={false}
|
allowEditRows={false}
|
||||||
|
|
|
@ -187,7 +187,9 @@
|
||||||
if (deleteUsersResponse.unsuccessful?.length) {
|
if (deleteUsersResponse.unsuccessful?.length) {
|
||||||
deletionFailureModal.show()
|
deletionFailureModal.show()
|
||||||
} else {
|
} else {
|
||||||
notifications.success(`Successfully deleted ${selectedRows.length} users`)
|
notifications.success(
|
||||||
|
`Successfully deleted ${selectedRows.length} users`
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
selectedRows = []
|
selectedRows = []
|
||||||
|
|
Loading…
Reference in a new issue