fix wrong editor change detection

This commit is contained in:
Dan Percic 2021-05-28 14:39:05 +03:00
parent 351dc05384
commit 918ae9fab9

View File

@ -62,7 +62,7 @@ export class RulesScreenComponent extends ComponentHasChanges {
}
get hasChanges(): boolean {
return this._decorations.length > 0;
return this.currentLines.toString() !== this.initialLines.toString();
}
get codeEditorText() {