Skip to content

Commit

Permalink
Merge branch 'main' into demo
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic committed Aug 29, 2024
2 parents d7fd2a2 + dd10302 commit 6cf6124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/views/Users/UsersTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function deleteUser(user) {
if (!confirm(`Are you sure you want to delete the user?`)) {
return
}
store.dispatch('deleteUser', user.id)
store.dispatch('deleteUser', user)
.then(res => {
// TODO Show notification
store.dispatch('getUsers')
Expand Down

0 comments on commit 6cf6124

Please sign in to comment.