mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-05-24 09:38:34 +00:00
fix: Settings in Folder trust hook (#7343)
This commit is contained in:
parent
03bcbcc10d
commit
1fc1c2b4e4
1 changed files with 6 additions and 2 deletions
|
|
@ -28,8 +28,12 @@ export const useFolderTrust = (
|
|||
|
||||
useEffect(() => {
|
||||
const trusted = isWorkspaceTrusted({
|
||||
folderTrust,
|
||||
folderTrustFeature,
|
||||
security: {
|
||||
folderTrust: {
|
||||
featureEnabled: folderTrustFeature,
|
||||
enabled: folderTrust,
|
||||
},
|
||||
},
|
||||
} as Settings);
|
||||
setIsTrusted(trusted);
|
||||
setIsFolderTrustDialogOpen(trusted === undefined);
|
||||
|
|
|
|||
Loading…
Reference in a new issue