Merge branch 'DM-408' into 'master'

DM-408, remove errors when reverting

Closes DM-408

See merge request redactmanager/red-ui!60
This commit is contained in:
Dan Percic 2023-09-08 16:27:00 +02:00
commit a2f534fc85

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() {