提交 09c324fe 编写于 作者: S Sandeep Somavarapu

Fix #19741

上级 73d4cb23
......@@ -861,6 +861,7 @@ class UnsupportedWorkspaceSettingsRenderer extends Disposable {
@IMarkerService private markerService: IMarkerService
) {
super();
this._register(this.configurationService.onDidUpdateConfiguration(() => this.render()));
}
private getMarkerMessage(settingKey): string {
......@@ -889,8 +890,10 @@ class UnsupportedWorkspaceSettingsRenderer extends Disposable {
});
}
}
if (markerData.length > 0) {
if (markerData.length) {
this.markerService.changeOne('preferencesEditor', this.workspaceSettingsEditorModel.uri, markerData);
} else {
this.markerService.remove('preferencesEditor', [this.workspaceSettingsEditorModel.uri]);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册