FlowingCode / ErrorWindowAddon

Error Window Vaadin Add-on
Apache License 2.0
9 stars 2 forks source link

refactor: initialize ErrorWindow on attach #46

Closed javier-godoy closed 1 year ago

javier-godoy commented 1 year ago

Also initialize it the first time that getChildren is called (even if it isn't attached) in order to allow reusing the dialog contents in ErrorView: https://github.com/FlowingCode/ErrorWindowAddon/blob/42449d2c352e1aa1280aa8da4967160f001b2f51/src/main/java/com/flowingcode/vaadin/addons/errorwindow/ErrorView.java#L44-L49

Close #44