mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
fix-65287 Added webviewManager.refresh() (#65396)
This commit is contained in:
committed by
Matt Bierner
parent
3e78e05f79
commit
55ebf93842
@@ -149,6 +149,7 @@ export class PreviewSecuritySelector {
|
||||
|
||||
if (selection.type === 'toggle') {
|
||||
this.cspArbiter.setShouldDisableSecurityWarning(!this.cspArbiter.shouldDisableSecurityWarnings());
|
||||
this.webviewManager.refresh();
|
||||
return;
|
||||
} else {
|
||||
await this.cspArbiter.setSecurityLevelForResource(resource, selection.type);
|
||||
|
||||
Reference in New Issue
Block a user