An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(sentinel): Add missing instantSave method and prevent duplicate notifications
Andras Bacsaif995426fb32d
diff --git a/app/Livewire/Server/Sentinel.php b/app/Livewire/Server/Sentinel.phpindex 20135f3c91..cdcdc71fc3 100644--- a/app/Livewire/Server/Sentinel.php+++ b/app/Livewire/Server/Sentinel.php@@ -110,26 +110,6 @@ class Sentinel extends Component}}- public function updatedIsSentinelDebugEnabled($value)- {- try {- $this->submit();- $this->restartSentinel();- } catch (\Throwable $e) {- return handleError($e, $this);- }- }-- public function updatedIsMetricsEnabled($value)- {- try {- $this->submit();- $this->restartSentinel();- } catch (\Throwable $e) {- return handleError($e, $this);- }- }-public function updatedIsSentinelEnabled($value){try {@@ -175,6 +155,16 @@ class Sentinel extends Component}}+ public function instantSave()+ {+ try {+ $this->syncData(true);+ $this->restartSentinel();+ } catch (\Throwable $e) {+ return handleError($e, $this);+ }+ }+public function render(){return view('livewire.server.sentinel');