We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f372e commit ff70e08Copy full SHA for ff70e08
src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.ts
@@ -123,6 +123,10 @@ export class ResultCodeEditorView extends CodeEditorView {
123
);
124
125
this._register(autorun('update remainingConflicts label', reader => {
126
+ // this is a bit of a hack, but it's the easiest way to get the label to update
127
+ // when the view model updates, as the the base class resets the label in the setModel call.
128
+ this.viewModel.read(reader);
129
+
130
const model = this.model.read(reader);
131
if (!model) {
132
return;
0 commit comments