correct notification message
This commit is contained in:
parent
0dfa0df335
commit
1ea4a9d850
|
@ -24,7 +24,7 @@
|
|||
async function deleteUser() {
|
||||
const res = await users.del(userId)
|
||||
if (res.message) {
|
||||
notifications.success(res.message)
|
||||
notifications.success(`User ${$request?.data?.email} deleted.`)
|
||||
$goto("./")
|
||||
} else {
|
||||
notifications.error("Failed to delete user.")
|
||||
|
|
Loading…
Reference in New Issue