mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed triggerOnChange
This commit is contained in:
parent
da77f50a97
commit
74a49ae35d
2 changed files with 2 additions and 3 deletions
|
@ -200,8 +200,6 @@ export class Editor {
|
|||
};
|
||||
|
||||
triggerOnChange = (): void => {
|
||||
console.log('trigger on change', this.isEmpty, this.getIsEmpty());
|
||||
|
||||
if (this.isEmpty !== this.getIsEmpty()) this.setIsEmpty(this.isEmpty);
|
||||
if (this.getEditing() && !this.getChanged()) this.setChanged(true);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue