mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Update permission dialog ID fix
This commit is contained in:
1 parent
5153d49fa7
commit
032d1a075e
1 file changed
+1
@@ -76,6 +76,7 @@ export function RepoDetail() {
|
||||
const resetPermissionsMutation = useMutation({
|
||||
mutationFn: () => resetRepoPermissions(repoId),
|
||||
onSuccess: () => {
|
||||
queryClient.invalidateQueries({ queryKey: ["opencode", "sessions", opcodeUrl, repoDirectory] });
|
||||
showToast.success("Permissions reset successfully");
|
||||
setResetPermissionsOpen(false);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user