From 4fc0c946daf3a858bfe0e14999b0432b1f38b4a3 Mon Sep 17 00:00:00 2001
From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
Date: Tue, 21 Oct 2025 08:47:38 +0200
Subject: [PATCH] Changes auto-committed by Conductor
---
app/Livewire/Project/Service/EditDomain.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/Livewire/Project/Service/EditDomain.php b/app/Livewire/Project/Service/EditDomain.php
index 43d885238..f759dd71e 100644
--- a/app/Livewire/Project/Service/EditDomain.php
+++ b/app/Livewire/Project/Service/EditDomain.php
@@ -83,7 +83,7 @@ public function submit()
$this->validate();
$this->application->save();
$this->application->refresh();
- $this->syncData(false);
+ $this->syncFromModel();
updateCompose($this->application);
if (str($this->application->fqdn)->contains(',')) {
$this->dispatch('warning', 'Some services do not support multiple domains, which can lead to problems and is NOT RECOMMENDED.
Only use multiple domains if you know what you are doing.');
@@ -96,7 +96,7 @@ public function submit()
$originalFqdn = $this->application->getOriginal('fqdn');
if ($originalFqdn !== $this->application->fqdn) {
$this->application->fqdn = $originalFqdn;
- $this->syncData(false);
+ $this->syncFromModel();
}
return handleError($e, $this);