mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix: on team creation, redirect to the new team instantly
This commit is contained in:
parent
5e711fbfeb
commit
fc7e31799c
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class Create extends Component
|
|||
'personal_team' => false,
|
||||
]);
|
||||
auth()->user()->teams()->attach($team, ['role' => 'admin']);
|
||||
refreshSession();
|
||||
refreshSession($team);
|
||||
|
||||
return redirect()->route('team.index');
|
||||
} catch (\Throwable $e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue