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:
@@ -58,8 +58,8 @@ class WorkOrderDashboard extends Page
|
||||
->danger()
|
||||
->persistent()
|
||||
->send();
|
||||
redirect('/app/work-orders')->send();
|
||||
exit;
|
||||
$this->redirect('/app/work-orders');
|
||||
return;
|
||||
}
|
||||
$this->record = $wo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user