fix wrong editor change detection
This commit is contained in:
parent
351dc05384
commit
918ae9fab9
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user