Pull request #194: fix wrong editor change detection

Merge in RED/ui from RED-1553 to master

* commit '918ae9fab9c2cabf92b7835183b91ab7fdba1455':
  fix wrong editor change detection
This commit is contained in:
Timo Bejan 2021-05-31 09:19:22 +02:00
commit 41aaae7751

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