fix: ensure service state is refreshed and compose configurations are saved after submission

This commit is contained in:
Andras Bacsai 2025-11-10 14:44:11 +01:00
parent b9846c08cc
commit 9507f602df

View file

@ -149,9 +149,10 @@ public function submit($notify = true)
$this->service->save();
$this->service->saveExtraFields($this->fields);
$this->service->parse();
$this->service->refresh();
$this->service->saveComposeConfigs();
});
// Refresh and write files after a successful commit
$this->service->refresh();
$this->service->saveComposeConfigs();
$this->dispatch('refreshEnvs');
$this->dispatch('refreshServices');