fix(work-order-dashboard): use Livewire's $this->redirect() in mount

Livewire's Redirector doesn't have ->send(); the correct API inside a
Livewire mount() is $this->redirect($url).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-05 19:44:08 +00:00
parent 33d1675182
commit c33e96caf8
@@ -58,8 +58,8 @@ class WorkOrderDashboard extends Page
->danger() ->danger()
->persistent() ->persistent()
->send(); ->send();
redirect('/app/work-orders')->send(); $this->redirect('/app/work-orders');
exit; return;
} }
$this->record = $wo; $this->record = $wo;
} }