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 @@ public function switch_to($team_id)
} }
refreshSession($team_to_switch_to); refreshSession($team_to_switch_to);
return redirect(request()->header('Referer')); return redirect('dashboard');
} }
} }