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()
|
->danger()
|
||||||
->persistent()
|
->persistent()
|
||||||
->send();
|
->send();
|
||||||
redirect('/app/work-orders')->send();
|
$this->redirect('/app/work-orders');
|
||||||
exit;
|
return;
|
||||||
}
|
}
|
||||||
$this->record = $wo;
|
$this->record = $wo;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user