5301c98621
The action ->url() closure was resolving \$this to the Action instance and its ->getRecord() returned null in header-action context, so the URL came out as /app/work-orders//dashboard. getHeaderActions() runs after mount(), so \$this->record is guaranteed populated. Compute the URL string once and pass it as a plain value. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>