Update success messages

This commit is contained in:
Andras Bacsai
2024-02-22 14:53:42 +01:00
parent 592221b4bf
commit c7218f2856
32 changed files with 67 additions and 57 deletions

View File

@@ -81,6 +81,6 @@ class Backup extends Component
}
public function submit()
{
$this->dispatch('success', 'Backup updated successfully.');
$this->dispatch('success', 'Backup updated.');
}
}

View File

@@ -49,7 +49,7 @@ class Email extends Component
'settings.smtp_from_name' => 'required',
]);
$this->settings->save();
$this->dispatch('success', 'Settings saved successfully.');
$this->dispatch('success', 'Settings saved.');
} catch (\Throwable $e) {
return handleError($e, $this);
}
@@ -61,7 +61,7 @@ class Email extends Component
'settings.resend_api_key' => 'required'
]);
$this->settings->save();
$this->dispatch('success', 'Settings saved successfully.');
$this->dispatch('success', 'Settings saved.');
} catch (\Throwable $e) {
$this->settings->resend_enabled = false;
return handleError($e, $this);
@@ -98,7 +98,7 @@ class Email extends Component
'settings.smtp_timeout' => 'nullable',
]);
$this->settings->save();
$this->dispatch('success', 'Settings saved successfully.');
$this->dispatch('success', 'Settings saved.');
} catch (\Throwable $e) {
return handleError($e, $this);
}