Fixing notification update in EditRoles.
This commit is contained in:
parent
81c8bee81e
commit
664fb3965c
|
@ -84,7 +84,7 @@
|
|||
await roles.save(selectedRole)
|
||||
notifications.success("Role saved successfully")
|
||||
} catch (error) {
|
||||
notifications.error(`Error deleting role - ${error.message}`)
|
||||
notifications.error(`Error saving role - ${error.message}`)
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue