Workspace roles ok.

This commit is contained in:
charles-gauthereau
2024-12-31 11:48:38 +01:00
parent 6f75079a40
commit 2312567bba
4 changed files with 57 additions and 17 deletions
@@ -24,7 +24,7 @@ export const usersColumnsAdmin: ColumnDef<User>[] = [
mutationFn: () => updateUserAction({id: row.original.id, data: {role: role}}),
onSuccess: () => {
toast.success(`User updated successfully.`);
router.refresh()
// router.refresh()
},
onError: () => {