Files
autocrm/app/Filament/Tenant/Resources/WorkOrderResource
Vasyka 67a87c5a67 fix(edit-wo): resolve dashboard URL via $livewire, not $this
Inside a Filament Action's ->url() closure, \$this can bind to the
Action instance rather than the Livewire page — so \$this->record was
null and the generated URL became /app/work-orders//dashboard, which
routed as record='' and hit our friendly redirect for id 0.

Switch to \$livewire and prefer getRecord() which is always populated.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-08-05 19:46:52 +00:00
..