Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: on team creation, redirect to the new team instantly

Andras Bacsaifc7e31799cd7
diff --git a/app/Livewire/Team/Create.php b/app/Livewire/Team/Create.php
index d3d27556cd..cd15be67d7 100644
--- a/app/Livewire/Team/Create.php
+++ b/app/Livewire/Team/Create.php
@@ -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) {