@melodicdev/components 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18637,12 +18637,6 @@ var DialogComponent = class DialogComponent$1 {
18637
18637
  this._dialogID = newID();
18638
18638
  this._registered = false;
18639
18639
  }
18640
- onCreate() {
18641
- this.registerDialog();
18642
- }
18643
- onRender() {
18644
- this.registerDialog();
18645
- }
18646
18640
  registerDialog() {
18647
18641
  if (this._registered) return;
18648
18642
  const dialogEl = this.elementRef.shadowRoot?.querySelector("dialog");
@@ -18657,6 +18651,7 @@ var DialogComponent = class DialogComponent$1 {
18657
18651
  this._dialogService.removeDialog(this._dialogID);
18658
18652
  }
18659
18653
  open() {
18654
+ this.registerDialog();
18660
18655
  this._dialogRef.open();
18661
18656
  }
18662
18657
  close(result) {