render tree on trust / trust settings change
This commit is contained in:
parent
ba531de198
commit
564bcfe4cd
1 changed files with 7 additions and 0 deletions
|
@ -213,6 +213,13 @@ export class SettingsEditor2 extends EditorPane {
|
|||
if (this.settingsTreeModel) {
|
||||
this.settingsTreeModel.updateWorkspaceTrust(workspaceTrustManagementService.isWorkpaceTrusted());
|
||||
}
|
||||
this.renderTree();
|
||||
}));
|
||||
|
||||
this._register(configurationService.onDidChangeUntrustdSettings(e => {
|
||||
if (e.default.length) {
|
||||
this.updateElementsByKey([...e.default]);
|
||||
}
|
||||
}));
|
||||
|
||||
this.modelDisposables = this._register(new DisposableStore());
|
||||
|
|
Loading…
Reference in a new issue