render tree on trust / trust settings change

上级 ba531de1
......@@ -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());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册