fix(ui): healthcheck wording (#11232)

This commit is contained in:
🏔️ Peak authored and GitHub committed 2026-08-12 23:11:02 +02:00
1 parent 4ca6470109
commit 2c28c9f32a
6 files changed
+16 -16

No files matched your search

+4 -4
View File
@@ -151,7 +151,7 @@ class HealthChecks extends Component
$this->resource->health_check_start_period = $this->healthCheckStartPeriod;
$this->resource->custom_healthcheck_found = $this->customHealthcheckFound;
$this->resource->save();
$this->dispatch('success', 'Health check updated.');
$this->dispatch('success', 'Healthcheck updated.');
$this->dispatch('configurationChanged');
}
@@ -178,7 +178,7 @@ class HealthChecks extends Component
$this->resource->health_check_start_period = $this->healthCheckStartPeriod;
$this->resource->custom_healthcheck_found = $this->customHealthcheckFound;
$this->resource->save();
$this->dispatch('success', 'Health check updated.');
$this->dispatch('success', 'Healthcheck updated.');
$this->dispatch('configurationChanged');
} catch (\Throwable $e) {
return handleError($e, $this);
@@ -211,9 +211,9 @@ class HealthChecks extends Component
$this->resource->save();
if ($this->healthCheckEnabled && ! $wasEnabled && $this->resource->isRunning()) {
$this->dispatch('info', 'Health check has been enabled. A restart is required to apply the new settings.');
$this->dispatch('info', 'Healthcheck has been enabled. A restart is required to apply the new settings.');
} else {
$this->dispatch('success', 'Health check '.($this->healthCheckEnabled ? 'enabled' : 'disabled').'.');
$this->dispatch('success', 'Healthcheck '.($this->healthCheckEnabled ? 'enabled' : 'disabled').'.');
}
$this->dispatch('configurationChanged');
} catch (\Throwable $e) {