fix-65287 Added webviewManager.refresh() (#65396)

This commit is contained in:
Prabhanjan S Koushik
2018-12-20 00:35:57 +05:30
committed by Matt Bierner
parent 3e78e05f79
commit 55ebf93842

View File

@@ -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);