Ticketing: settings tabs are deep-linkable routes (/settings/{tab})

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jh8RnYXrC8E6z79LWs8ggd
This commit is contained in:
2026-06-21 20:19:04 -04:00
parent dd0a458250
commit e49a1e2ac9
3 changed files with 5 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ class TicketingSettingsController extends Controller
}
}
public function index(): Response
public function index(?string $tab = null): Response
{
$this->requireAgentAccess();
@@ -101,6 +101,7 @@ class TicketingSettingsController extends Controller
: EmailConnection::whereIn('group_id', $myGroupIds)->get();
return Inertia::render('Ticketing/Settings', [
'activeTab' => $tab,
'groups' => $groups,
'agents' => $agents,
'priorities' => $priorities,