fix: saveModel email settings

This commit is contained in:
Andras Bacsai 2023-09-07 08:48:16 +02:00
parent 3db9a1dd6e
commit 9d53e04ce9

View File

@ -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 {