fix
This commit is contained in:
parent
f3a25939db
commit
7f9afa9c46
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ public function copyFromInstanceSettings()
|
||||||
if (is_a($team, Team::class)) {
|
if (is_a($team, Team::class)) {
|
||||||
session(['currentTeam' => $team]);
|
session(['currentTeam' => $team]);
|
||||||
}
|
}
|
||||||
|
$this->model = $team;
|
||||||
$this->emit('success', 'Settings saved.');
|
$this->emit('success', 'Settings saved.');
|
||||||
} else {
|
} else {
|
||||||
$this->emit('error', 'Instance SMTP settings are not enabled.');
|
$this->emit('error', 'Instance SMTP settings are not enabled.');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue