fix: graceful shutdown

This commit is contained in:
Andras Bacsai committed 2024-08-06 13:05:34 +02:00
1 parent f4d64e121c
commit a4f107e191
2 files changed
+22 -20

No files matched your search

@@ -91,7 +91,7 @@ class Advanced extends Component
public function saveCustomName()
{
if (isset($this->application->settings->custom_internal_name)) {
if (str($this->application->settings->custom_internal_name)->isNotEmpty()) {
$this->application->settings->custom_internal_name = str($this->application->settings->custom_internal_name)->slug()->value();
} else {
$this->application->settings->custom_internal_name = null;