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

Andras Bacsaif3a25939db5d
diff --git a/app/Http/Livewire/Notifications/EmailSettings.php b/app/Http/Livewire/Notifications/EmailSettings.php
index 3ba6806a73..853296f009 100644
--- a/app/Http/Livewire/Notifications/EmailSettings.php
+++ b/app/Http/Livewire/Notifications/EmailSettings.php
@@ -70,7 +70,7 @@ class EmailSettings extends Component
]);
$this->decrypt();
if (is_a($team, Team::class)) {
- session(['currentTeam' => $this->model]);
+ session(['currentTeam' => $team]);
}
$this->emit('success', 'Settings saved.');
} else {