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

@@ -60,7 +60,7 @@ class General extends Component
return;
}
$this->database->save();
$this->dispatch('success', 'Database updated successfully.');
$this->dispatch('success', 'Database updated.');
$this->dispatch('success', 'You need to restart the service for the changes to take effect.');
} catch (Exception $e) {
return handleError($e, $this);
@@ -74,7 +74,7 @@ class General extends Component
}
$this->validate();
$this->database->save();
$this->dispatch('success', 'Database updated successfully.');
$this->dispatch('success', 'Database updated.');
} catch (Exception $e) {
return handleError($e, $this);
}