fix(ui): always redirect to dashboard after team switch

This commit is contained in:
Andras Bacsai
2025-02-03 21:37:46 +01:00
parent 035db67180
commit c45c64a1a1

View File

@@ -30,6 +30,6 @@ class SwitchTeam extends Component
} }
refreshSession($team_to_switch_to); refreshSession($team_to_switch_to);
return redirect(request()->header('Referer')); return redirect('dashboard');
} }
} }