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