fix: saveModel email settings
This commit is contained in:
parent
3db9a1dd6e
commit
9d53e04ce9
1 changed files with 8 additions and 1 deletions
|
|
@ -107,7 +107,14 @@ public function instantSave()
|
|||
return general_error_handler($e, $this);
|
||||
}
|
||||
}
|
||||
|
||||
public function saveModel()
|
||||
{
|
||||
$this->team->save();
|
||||
if (is_a($this->team, Team::class)) {
|
||||
refreshSession();
|
||||
}
|
||||
$this->emit('success', 'Settings saved.');
|
||||
}
|
||||
public function submit()
|
||||
{
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue