Skip to content

Commit

Permalink
fix(ui): always redirect to dashboard after team switch
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Feb 3, 2025
1 parent 035db67 commit c45c64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Livewire/SwitchTeam.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ public function switch_to($team_id)
}
refreshSession($team_to_switch_to);

return redirect(request()->header('Referer'));
return redirect('dashboard');
}
}

0 comments on commit c45c64a

Please sign in to comment.