mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 17:27:54 +00:00
Force restart on trust level change to reload settings (#6713)
This commit is contained in:
@@ -211,6 +211,7 @@ vi.mock('./hooks/useFolderTrust', () => ({
|
||||
useFolderTrust: vi.fn(() => ({
|
||||
isFolderTrustDialogOpen: false,
|
||||
handleFolderTrustSelect: vi.fn(),
|
||||
isRestarting: false,
|
||||
})),
|
||||
}));
|
||||
|
||||
@@ -296,6 +297,7 @@ describe('App UI', () => {
|
||||
userSettingsFile,
|
||||
workspaceSettingsFile,
|
||||
[],
|
||||
true,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user