@forgeroute/ui 0.5.15 → 0.5.16

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.
@@ -2846,11 +2846,11 @@ var PaymentQboBodyComponent = class PaymentQboBodyComponent {
2846
2846
  this.ctx().setBusy(false);
2847
2847
  }
2848
2848
  };
2849
- effect(() => {
2849
+ effect((onCleanup) => {
2850
2850
  const config = this.config();
2851
2851
  untracked(() => config.attachControls(controls));
2852
+ onCleanup(() => config.detachControls(controls));
2852
2853
  });
2853
- inject(DestroyRef).onDestroy(() => this.config().detachControls(controls));
2854
2854
  effect(() => {
2855
2855
  const amount = this.amountValue();
2856
2856
  if (amount != null) untracked(() => this.lastAmount.set(amount));