correct notification message
This commit is contained in:
parent
3d37e3e335
commit
28223baa41
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
async function deleteUser() {
|
async function deleteUser() {
|
||||||
const res = await users.del(userId)
|
const res = await users.del(userId)
|
||||||
if (res.message) {
|
if (res.message) {
|
||||||
notifications.success(res.message)
|
notifications.success(`User ${$request?.data?.email} deleted.`)
|
||||||
$goto("./")
|
$goto("./")
|
||||||
} else {
|
} else {
|
||||||
notifications.error("Failed to delete user.")
|
notifications.error("Failed to delete user.")
|
||||||
|
|
Loading…
Reference in a new issue