From 63380d27c7f0e1b3d7e72337d0d7adffa2fe30bf Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 2 Jan 2026 16:59:02 +0100 Subject: [PATCH] fix(service): prevent public toggle from saving entire database form The instantSave method for the 'Make it publicly available' checkbox was calling submitDatabase(), which saved all form fields. This caused unintended saves when only toggling the public visibility. The syncDatabaseData() call already handles saving the public toggle state. --- app/Livewire/Project/Service/Index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Livewire/Project/Service/Index.php b/app/Livewire/Project/Service/Index.php index aa678922d..360282911 100644 --- a/app/Livewire/Project/Service/Index.php +++ b/app/Livewire/Project/Service/Index.php @@ -298,7 +298,6 @@ public function instantSave() $this->db_url_public = null; $this->dispatch('success', 'Database is no longer publicly accessible.'); } - $this->submitDatabase(); } catch (\Throwable $e) { return handleError($e, $this); }