fix(ui): always redirect to dashboard after team switch
This commit is contained in:
parent
035db67180
commit
c45c64a1a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue