DM-408, remove errors when reverting

This commit is contained in:
George 2023-09-08 17:25:56 +03:00
parent 74fffe049d
commit 86c9b034ca

View File

@ -198,6 +198,7 @@ export class RulesScreenComponent implements OnInit, ComponentCanDeactivate {
}
(window as any).monaco.editor.setModelMarkers(model, model.id, []);
this._errorGlyphs = this._codeEditor?.deltaDecorations(this._errorGlyphs, []) || [];
this.numberOfErrors.set(0);
}
private async _initialize() {