(data)
| 475 | } |
| 476 | |
| 477 | protected updateEvent(data) { |
| 478 | if (this.isDirty()) { |
| 479 | this.logger.log('Ignore event'); |
| 480 | return; |
| 481 | } |
| 482 | |
| 483 | if (data && data.state) { |
| 484 | this.setStateEl(data.state); |
| 485 | this.persistenceState = this.getStateEl(); |
| 486 | emitter.emit('syncPage_fillUi'); |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | public isDirty(): boolean { |
| 491 | return ( |