This commit is contained in:
Andras Bacsai 2023-07-28 11:54:36 +02:00
parent adc56d5877
commit f3a25939db

View File

@ -70,7 +70,7 @@ class EmailSettings extends Component
]); ]);
$this->decrypt(); $this->decrypt();
if (is_a($team, Team::class)) { if (is_a($team, Team::class)) {
session(['currentTeam' => $this->model]); session(['currentTeam' => $team]);
} }
$this->emit('success', 'Settings saved.'); $this->emit('success', 'Settings saved.');
} else { } else {