From 1acaa33ef0b10369ea7fed0b2ba55bae9db18166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 1 Mar 2024 14:16:59 +0100 Subject: [PATCH] Add dispatch to set purchase context for contact user --- app/Livewire/BillingPortal/RFF.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Livewire/BillingPortal/RFF.php b/app/Livewire/BillingPortal/RFF.php index 5c63d314a9..9e759ca439 100644 --- a/app/Livewire/BillingPortal/RFF.php +++ b/app/Livewire/BillingPortal/RFF.php @@ -24,6 +24,7 @@ class RFF extends Component #[On('passed-required-fields-check')] public function continue(): void { + $this->dispatch('purchase.context', property: 'contact', value: auth()->guard('contact')->user()); $this->dispatch('purchase.next'); }