render tree on trust / trust settings change

This commit is contained in:
Sandeep Somavarapu 2021-04-16 12:29:21 +02:00
parent ba531de198
commit 564bcfe4cd
No known key found for this signature in database
GPG key ID: 1FED25EC4646638B

View file

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