Skip to content

Commit a7318c2

Browse files
committed
fix(domain): dispatch refreshStatus event after successful domain update
1 parent aaba690 commit a7318c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/Livewire/Project/Service/EditDomain.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@ public function submit()
4343
updateCompose($this->application);
4444
if (str($this->application->fqdn)->contains(',')) {
4545
$this->dispatch('warning', 'Some services do not support multiple domains, which can lead to problems and is NOT RECOMMENDED.<br><br>Only use multiple domains if you know what you are doing.');
46-
} else {
47-
! $warning && $this->dispatch('success', 'Service saved.');
4846
}
4947
$this->application->service->parse();
5048
$this->dispatch('refresh');
5149
$this->dispatch('configurationChanged');
50+
$this->dispatch('refreshStatus');
5251
} catch (\Throwable $e) {
5352
$originalFqdn = $this->application->getOriginal('fqdn');
5453
if ($originalFqdn !== $this->application->fqdn) {

0 commit comments

Comments
 (0)